Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8401/0.8401, allocations: 133.6 MB / 141.6 MB, free: 2.863 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 221.5 MB / 395.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009772/0.0009768, allocations: 98.97 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.752e-05/1.755e-05, allocations: 7.984 kB / 0.5535 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4905/0.4905, allocations: 82.3 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1477/0.6383, allocations: 111.5 MB / 0.7428 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.6386, allocations: 71.95 kB / 0.7429 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004759/0.6434, allocations: 1.537 MB / 0.7444 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6434, allocations: 0 / 0.7444 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.6434, allocations: 3.938 kB / 0.7444 GB, free: 9.535 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005805/0.644, allocations: 437.8 kB / 0.7448 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.644, allocations: 8.031 kB / 0.7448 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.6441, allocations: 11.91 kB / 0.7448 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.6443, allocations: 201.6 kB / 0.745 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.6444, allocations: 7.984 kB / 0.745 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.6444, allocations: 4 kB / 0.745 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001324/0.6445, allocations: 44 kB / 0.7451 GB, free: 8.742 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.6447, allocations: 97.64 kB / 0.7452 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.6447, allocations: 0 / 0.7452 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.6447, allocations: 0 / 0.7452 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.6447, allocations: 3.984 kB / 0.7452 GB, free: 8.637 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.6452, allocations: 309.3 kB / 0.7455 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001288/0.6454, allocations: 78.5 kB / 0.7455 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.516e-05/0.6455, allocations: 52.97 kB / 0.7456 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.6455, allocations: 0 / 0.7456 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.6457, allocations: 103.3 kB / 0.7457 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.6457, allocations: 0 / 0.7457 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0002968/0.646, allocations: 137.6 kB / 0.7458 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/0.646, allocations: 93.05 kB / 0.7459 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.853e-05/0.6461, allocations: 114.7 kB / 0.746 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.6462, allocations: 25.7 kB / 0.746 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.6462, allocations: 99.98 kB / 0.7461 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.015e-05/0.6463, allocations: 15.8 kB / 0.7462 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.6463, allocations: 4 kB / 0.7462 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.6464, allocations: 318.8 kB / 0.7465 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.786e-05/0.6465, allocations: 47.98 kB / 0.7465 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.588e-05/0.6466, allocations: 39.98 kB / 0.7465 GB, free: 7.117 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/0.6466, allocations: 27.98 kB / 0.7466 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6466, allocations: 0 / 0.7466 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002496/0.6469, allocations: 165.6 kB / 0.7467 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.557e-05/0.6469, allocations: 59.41 kB / 0.7468 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.647, allocations: 7.984 kB / 0.7468 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.647, allocations: 0 / 0.7468 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.6471, allocations: 15.98 kB / 0.7468 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.6471, allocations: 0 / 0.7468 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.6473, allocations: 31.98 kB / 0.7468 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.6473, allocations: 7.984 kB / 0.7468 GB, free: 6.789 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.6474, allocations: 146.6 kB / 0.747 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002154/0.6476, allocations: 145.5 kB / 0.7471 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.6477, allocations: 7.906 kB / 0.7471 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.6477, allocations: 8.625 kB / 0.7471 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6477, allocations: 8 kB / 0.7471 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.6477, allocations: 0 / 0.7471 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.6477, allocations: 8.062 kB / 0.7472 GB, free: 6.453 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.6479, allocations: 170.1 kB / 0.7473 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6479, allocations: 0 / 0.7473 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.81e-05/0.648, allocations: 15.98 kB / 0.7473 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.648, allocations: 0 / 0.7473 GB, free: 6.234 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.648, allocations: 7.984 kB / 0.7473 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.648, allocations: 0 / 0.7473 GB, free: 6.227 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.648, allocations: 4 kB / 0.7473 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.6483, allocations: 173 kB / 0.7475 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.6483, allocations: 85.02 kB / 0.7476 GB, free: 5.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.6484, allocations: 3.938 kB / 0.7476 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.6485, allocations: 27.97 kB / 0.7476 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.6486, allocations: 39.95 kB / 0.7477 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.6487, allocations: 4 kB / 0.7477 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.207e-05/0.6487, allocations: 95.27 kB / 0.7478 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6487, allocations: 0 / 0.7478 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002067/0.649, allocations: 31.94 kB / 0.7478 GB, free: 5.734 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005571/0.6495, allocations: 0.7022 MB / 0.7485 GB, free: 5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002869/0.6498, allocations: 226.7 kB / 0.7487 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6498, allocations: 0 / 0.7487 GB, free: 4.754 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.65, allocations: 115.4 kB / 0.7488 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.6501, allocations: 9.062 kB / 0.7488 GB, free: 4.621 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004797/0.6506, allocations: 190 kB / 0.749 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.651, allocations: 0.6963 MB / 0.7497 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.72e-05/0.651, allocations: 8.188 kB / 0.7497 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.6511, allocations: 15.42 kB / 0.7497 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.6511, allocations: 0 / 0.7497 GB, free: 3.648 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02234/0.6735, allocations: 2.109 MB / 0.7518 GB, free: 1.562 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.6737, allocations: 133.6 kB / 0.7519 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/2.199, allocations: 0 / 0.7519 GB, free: 1.367 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)