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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008676/0.0008677, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6329/0.6329, allocations: 95.63 MB / 366 MB, free: 10.27 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006569/0.0006573, allocations: 19.98 kB / 446.9 MB, free: 9.266 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4924, allocations: 70.34 MB / 0.5051 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPID): time 0.003495/0.496, allocations: 3.142 MB / 0.5081 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.4983, allocations: 1.329 MB / 0.5094 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003491/0.4987, allocations: 27.88 kB / 0.5095 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.4989, allocations: 91.09 kB / 0.5095 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004338/0.4994, allocations: 138.9 kB / 0.5097 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009379/0.5003, allocations: 450.3 kB / 0.5101 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006596/0.501, allocations: 0.851 MB / 0.5109 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004567/0.5015, allocations: 267.2 kB / 0.5112 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.5018, allocations: 270.5 kB / 0.5114 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.502, allocations: 286.2 kB / 0.5117 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.394e-05/0.5021, allocations: 20 kB / 0.5117 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.717e-05/0.5022, allocations: 24 kB / 0.5118 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.34e-05/0.5023, allocations: 111.4 kB / 0.5119 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.312e-05/0.5024, allocations: 149.2 kB / 0.512 GB, free: 9.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004083/0.5028, allocations: 0.6565 MB / 0.5127 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.176e-06/0.5028, allocations: 0 / 0.5127 GB, free: 8.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5028, allocations: 0 / 0.5127 GB, free: 8.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.5028, allocations: 0 / 0.5127 GB, free: 8.637 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001548/0.5044, allocations: 1.094 MB / 0.5137 GB, free: 7.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.5044, allocations: 11.98 kB / 0.5137 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.5046, allocations: 106.7 kB / 0.5138 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000725/0.5053, allocations: 0.5576 MB / 0.5144 GB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001164/0.5054, allocations: 104.7 kB / 0.5145 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.173e-05/0.5055, allocations: 63.91 kB / 0.5145 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009895/0.5065, allocations: 0.6616 MB / 0.5152 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.5065, allocations: 0 / 0.5152 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/0.5066, allocations: 20 kB / 0.5152 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.5066, allocations: 20 kB / 0.5152 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008593/0.5075, allocations: 0.497 MB / 0.5157 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.5098, allocations: 2.127 MB / 0.5178 GB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.5109, allocations: 0.6056 MB / 0.5184 GB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.5113, allocations: 233.5 kB / 0.5186 GB, free: 2.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.526e-05/0.5113, allocations: 12.36 kB / 0.5186 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007137/0.5121, allocations: 337.2 kB / 0.5189 GB, free: 1.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 4.628e-06/0.5121, allocations: 0 / 0.5189 GB, free: 1.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.001632/0.5137, allocations: 0.7402 MB / 0.5197 GB, free: 1.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.5138, allocations: 137 kB / 0.5198 GB, free: 1.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007659/0.5146, allocations: 0.6492 MB / 0.5204 GB, free: 388 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.374e-05/0.5147, allocations: 33.7 kB / 0.5205 GB, free: 348 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.5149, allocations: 369.1 kB / 0.5208 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.5151, allocations: 165.6 kB / 0.521 GB, free: 15.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.999e-05/0.5152, allocations: 12 kB / 0.521 GB, free: 15.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.5153, allocations: 329.7 kB / 0.5213 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.5158, allocations: 213 kB / 0.5215 GB, free: 15.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.5165, allocations: 324.4 kB / 0.5218 GB, free: 14.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005505/0.517, allocations: 263.8 kB / 0.5221 GB, free: 14.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.517, allocations: 0 / 0.5221 GB, free: 14.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001256/0.5183, allocations: 0.6754 MB / 0.5227 GB, free: 13.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/0.5185, allocations: 172 kB / 0.5229 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.5185, allocations: 11.98 kB / 0.5229 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.5185, allocations: 4 kB / 0.5229 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.519, allocations: 119.8 kB / 0.523 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.5191, allocations: 7.953 kB / 0.523 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.5195, allocations: 83.41 kB / 0.5231 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.5195, allocations: 20 kB / 0.5231 GB, free: 13.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.5196, allocations: 6.031 kB / 0.5231 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008944/0.5205, allocations: 0.4989 MB / 0.5236 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.5205, allocations: 4 kB / 0.5236 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.5205, allocations: 4 kB / 0.5236 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.5209, allocations: 95.89 kB / 0.5237 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5209, allocations: 7.938 kB / 0.5237 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003438/0.5213, allocations: 63.7 kB / 0.5238 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.5213, allocations: 19.98 kB / 0.5238 GB, free: 12.81 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.local_reset,limPID.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0004127/0.5217, allocations: 281 kB / 0.5241 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.5218, allocations: 78.97 kB / 0.5241 GB, free: 12.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.522, allocations: 95.95 kB / 0.5242 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.522, allocations: 4 kB / 0.5242 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.5221, allocations: 0 / 0.5242 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5221, allocations: 7.938 kB / 0.5242 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008254/0.5229, allocations: 0.6691 MB / 0.5249 GB, free: 11.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5229, allocations: 7.953 kB / 0.5249 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004496/0.5234, allocations: 99.88 kB / 0.525 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5234, allocations: 0 / 0.525 GB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.5234, allocations: 8 kB / 0.525 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.5234, allocations: 4 kB / 0.525 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5235, allocations: 7.938 kB / 0.525 GB, free: 11.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.5252, allocations: 0.8547 MB / 0.5258 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.5255, allocations: 211.9 kB / 0.5261 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.5255, allocations: 12 kB / 0.5261 GB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.526, allocations: 59.94 kB / 0.5261 GB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.5261, allocations: 36.33 kB / 0.5262 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.5261, allocations: 15.98 kB / 0.5262 GB, free: 10.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006397/0.5268, allocations: 459 kB / 0.5266 GB, free: 9.824 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5268, allocations: 0 / 0.5266 GB, free: 9.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006253/0.5274, allocations: 227.3 kB / 0.5268 GB, free: 9.602 MB / 398.1 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 (47): * Single equations (assignments): 45 * 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.0001796/0.5276, allocations: 111.2 kB / 0.5269 GB, free: 9.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001671/0.5293, allocations: 0.8676 MB / 0.5278 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5293, allocations: 0 / 0.5278 GB, free: 8.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005012/0.5298, allocations: 262.4 kB / 0.528 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009748/0.5308, allocations: 189.3 kB / 0.5282 GB, free: 8.156 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002671/0.5334, allocations: 1.491 MB / 0.5297 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008461/0.5343, allocations: 0.9341 MB / 0.5306 GB, free: 5.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000437/0.5348, allocations: 85.19 kB / 0.5307 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.5349, allocations: 47.44 kB / 0.5307 GB, free: 5.539 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.5349, allocations: 0 / 0.5307 GB, free: 5.539 MB / 398.1 MB Notification: Performance of Templates: time 0.01592/0.5509, allocations: 7.653 MB / 0.5382 GB, free: 13.96 MB / 414.1 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: