Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="IDEAS_dev_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.001439/0.001439, allocations: 175.4 kB / 7.648 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7902/0.7902, allocations: 133.6 MB / 141.6 MB, free: 2.934 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.494/1.494, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0009856/0.0009859, allocations: 93.77 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.904e-05/1.904e-05, allocations: 0 / 0.5535 GB, free: 8.93 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4961/0.4961, allocations: 82.3 MB / 0.6339 GB, free: 40.82 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1503/0.6464, allocations: 111.5 MB / 0.7428 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.6467, allocations: 71.95 kB / 0.7429 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004783/0.6515, allocations: 1.53 MB / 0.7444 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6515, allocations: 4 kB / 0.7444 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.6515, allocations: 3.938 kB / 0.7444 GB, free: 9.598 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.0005954/0.6521, allocations: 437.8 kB / 0.7448 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.6522, allocations: 8.031 kB / 0.7448 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.6522, allocations: 15.89 kB / 0.7448 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.6525, allocations: 199 kB / 0.745 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.6525, allocations: 0 / 0.745 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.6526, allocations: 8 kB / 0.745 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001533/0.6527, allocations: 47.98 kB / 0.7451 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.6529, allocations: 85.66 kB / 0.7452 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.6529, allocations: 4 kB / 0.7452 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.6529, allocations: 0 / 0.7452 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.653, allocations: 4 kB / 0.7452 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005721/0.6535, allocations: 317.2 kB / 0.7455 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.6537, allocations: 70.56 kB / 0.7455 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.078e-05/0.6538, allocations: 52.98 kB / 0.7456 GB, free: 8.223 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.6538, allocations: 3.984 kB / 0.7456 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.654, allocations: 103.3 kB / 0.7457 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.654, allocations: 0 / 0.7457 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0003021/0.6543, allocations: 141.5 kB / 0.7458 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.6544, allocations: 85.11 kB / 0.7459 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.6545, allocations: 111.2 kB / 0.746 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.6545, allocations: 33.7 kB / 0.746 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.6546, allocations: 99.97 kB / 0.7461 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.6546, allocations: 15.81 kB / 0.7461 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-06/0.6547, allocations: 0 / 0.7461 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.6548, allocations: 326.8 kB / 0.7465 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.584e-05/0.6549, allocations: 43.98 kB / 0.7465 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.108e-05/0.655, allocations: 40 kB / 0.7465 GB, free: 7.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.655, allocations: 32 kB / 0.7466 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.655, allocations: 0 / 0.7466 GB, free: 7.148 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002423/0.6553, allocations: 161.5 kB / 0.7467 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.376e-05/0.6554, allocations: 59.41 kB / 0.7468 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.6554, allocations: 0 / 0.7468 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.6554, allocations: 0 / 0.7468 GB, free: 6.914 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.6555, allocations: 19.98 kB / 0.7468 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.947e-06/0.6555, allocations: 0 / 0.7468 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.6557, allocations: 31.97 kB / 0.7468 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.6557, allocations: 11.98 kB / 0.7468 GB, free: 6.852 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.0001182/0.6558, allocations: 146.6 kB / 0.747 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002093/0.6561, allocations: 137.5 kB / 0.7471 GB, free: 6.555 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.933e-05/0.6561, allocations: 15.89 kB / 0.7471 GB, free: 6.539 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.6561, allocations: 8.625 kB / 0.7471 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.6561, allocations: 0 / 0.7471 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.6562, allocations: 0 / 0.7471 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.6562, allocations: 7.953 kB / 0.7471 GB, free: 6.523 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001572/0.6563, allocations: 178.2 kB / 0.7473 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6563, allocations: 4.125 kB / 0.7473 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.6564, allocations: 15.98 kB / 0.7473 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.6564, allocations: 0 / 0.7473 GB, free: 6.293 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.6565, allocations: 4 kB / 0.7473 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6565, allocations: 0 / 0.7473 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6565, allocations: 0 / 0.7473 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.6568, allocations: 180.9 kB / 0.7475 GB, free: 6.094 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.6568, allocations: 85 kB / 0.7476 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.6569, allocations: 4 kB / 0.7476 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000148/0.657, allocations: 23.98 kB / 0.7476 GB, free: 5.965 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.6572, allocations: 35.94 kB / 0.7477 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.6572, allocations: 8 kB / 0.7477 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.028e-05/0.6573, allocations: 95.28 kB / 0.7478 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6573, allocations: 0 / 0.7478 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002186/0.6575, allocations: 23.94 kB / 0.7478 GB, free: 5.805 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.0005751/0.6581, allocations: 0.7061 MB / 0.7485 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002912/0.6584, allocations: 226.7 kB / 0.7487 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.6584, allocations: 4 kB / 0.7487 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.6585, allocations: 115.4 kB / 0.7488 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.6587, allocations: 18.11 kB / 0.7488 GB, free: 4.676 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.6592, allocations: 186 kB / 0.749 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.6595, allocations: 0.6924 MB / 0.7497 GB, free: 3.738 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.589e-05/0.6596, allocations: 12.17 kB / 0.7497 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.6596, allocations: 19.42 kB / 0.7497 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of SimCode: time 2.71e-07/0.6596, allocations: 3.938 kB / 0.7497 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.6816, allocations: 2.106 MB / 0.7518 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.6819, allocations: 130.5 kB / 0.7519 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.594/2.276, allocations: 2.875 kB / 0.7519 GB, free: 1.426 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_NumberOfRequests.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)