Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.535/0.535, allocations: 95.61 MB / 110.6 MB, free: 9.355 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001154/0.001154, allocations: 173.9 kB / 134.2 MB, free: 2.25 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.405/1.405, allocations: 170.8 MB / 328.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001765/0.001765, allocations: 111.3 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 12 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1333, allocations: 61.52 MB / 0.512 GB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.5981, allocations: 98.4 MB / 0.6081 GB, free: 8.941 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/0.5985, allocations: 82.12 kB / 0.6081 GB, free: 8.895 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05562/0.6541, allocations: 19.7 MB / 0.6274 GB, free: 7.781 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.6542, allocations: 0 / 0.6274 GB, free: 7.781 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.022e-05/0.6542, allocations: 12 kB / 0.6274 GB, free: 7.77 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002093/0.6563, allocations: 1.064 MB / 0.6284 GB, free: 6.648 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.6564, allocations: 15.98 kB / 0.6284 GB, free: 6.633 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.6566, allocations: 90.92 kB / 0.6285 GB, free: 6.543 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.6577, allocations: 0.5737 MB / 0.6291 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.6578, allocations: 96.41 kB / 0.6292 GB, free: 5.824 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.047e-05/0.6579, allocations: 55.89 kB / 0.6292 GB, free: 5.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.6591, allocations: 0.5921 MB / 0.6298 GB, free: 5.145 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.6591, allocations: 0 / 0.6298 GB, free: 5.145 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.317e-05/0.6592, allocations: 24 kB / 0.6298 GB, free: 5.121 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.6592, allocations: 15.95 kB / 0.6298 GB, free: 5.105 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009794/0.6602, allocations: 463.7 kB / 0.6303 GB, free: 4.656 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002746/0.6629, allocations: 1.499 MB / 0.6318 GB, free: 3.102 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.6643, allocations: 0.5984 MB / 0.6323 GB, free: 2.492 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.6643, allocations: 11.98 kB / 0.6323 GB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006935/0.665, allocations: 315.9 kB / 0.6326 GB, free: 2.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.665, allocations: 0 / 0.6326 GB, free: 2.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001513/0.6666, allocations: 0.6998 MB / 0.6333 GB, free: 1.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.6667, allocations: 217.6 kB / 0.6335 GB, free: 1.191 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006038/0.6673, allocations: 495.5 kB / 0.634 GB, free: 0.6992 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.982e-05/0.6674, allocations: 41.7 kB / 0.6341 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.6676, allocations: 324.5 kB / 0.6344 GB, free: 340 kB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.6678, allocations: 149.8 kB / 0.6345 GB, free: 188 kB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.458e-05/0.6678, allocations: 12 kB / 0.6345 GB, free: 176 kB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.668, allocations: 374.8 kB / 0.6349 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.6685, allocations: 200.9 kB / 0.6351 GB, free: 15.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/0.669, allocations: 293.1 kB / 0.6353 GB, free: 15.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004854/0.6695, allocations: 241.2 kB / 0.6356 GB, free: 15.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6695, allocations: 4 kB / 0.6356 GB, free: 15.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001164/0.6707, allocations: 0.5907 MB / 0.6362 GB, free: 14.44 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.6707, allocations: 35.11 kB / 0.6362 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.6707, allocations: 0 / 0.6362 GB, free: 14.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.974e-05/0.6708, allocations: 11.95 kB / 0.6362 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.6713, allocations: 111.9 kB / 0.6363 GB, free: 14.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.6713, allocations: 7.938 kB / 0.6363 GB, free: 14.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004392/0.6717, allocations: 79.55 kB / 0.6364 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.6718, allocations: 16 kB / 0.6364 GB, free: 14.18 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * 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.0002585/0.672, allocations: 184 kB / 0.6366 GB, free: 13.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.6722, allocations: 67.23 kB / 0.6366 GB, free: 13.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.6723, allocations: 74.52 kB / 0.6367 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.6723, allocations: 4 kB / 0.6367 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.6723, allocations: 7.953 kB / 0.6367 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.6723, allocations: 4 kB / 0.6367 GB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007017/0.673, allocations: 0.6218 MB / 0.6373 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.6731, allocations: 0 / 0.6373 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.6735, allocations: 95.88 kB / 0.6374 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.6736, allocations: 0 / 0.6374 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.6736, allocations: 16 kB / 0.6374 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.113e-06/0.6736, allocations: 0 / 0.6374 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6736, allocations: 0 / 0.6374 GB, free: 13.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.6752, allocations: 0.8115 MB / 0.6382 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002599/0.6755, allocations: 208.1 kB / 0.6384 GB, free: 12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.469e-05/0.6755, allocations: 8 kB / 0.6384 GB, free: 11.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005049/0.676, allocations: 59.95 kB / 0.6385 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.6761, allocations: 39.94 kB / 0.6385 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.6762, allocations: 12 kB / 0.6386 GB, free: 11.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004437/0.6766, allocations: 407 kB / 0.6389 GB, free: 11.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6766, allocations: 0 / 0.6389 GB, free: 11.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003928/0.677, allocations: 123.7 kB / 0.6391 GB, free: 11.37 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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.0001627/0.6772, allocations: 119.1 kB / 0.6392 GB, free: 11.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.6783, allocations: 0.5254 MB / 0.6397 GB, free: 10.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.6783, allocations: 0 / 0.6397 GB, free: 10.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004914/0.6788, allocations: 247.8 kB / 0.6399 GB, free: 10.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.6795, allocations: 143 kB / 0.6401 GB, free: 10.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.6815, allocations: 1.32 MB / 0.6413 GB, free: 8.973 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004537/0.682, allocations: 0.9097 MB / 0.6422 GB, free: 8.039 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002963/0.6823, allocations: 72.53 kB / 0.6423 GB, free: 7.969 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.6824, allocations: 39.44 kB / 0.6423 GB, free: 7.934 MB / 442.7 MB Notification: Performance of SimCode: time 2.044e-06/0.6824, allocations: 0 / 0.6423 GB, free: 7.934 MB / 442.7 MB Notification: Performance of Templates: time 0.01305/0.6955, allocations: 7.002 MB / 0.6492 GB, free: 0.9727 MB / 442.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)