Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008771/0.0008768, allocations: 91.92 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.0008651/0.0008654, 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.71/1.71, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.603/1.603, allocations: 252 MB / 0.5102 GB, free: 4.836 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005505/0.0005507, allocations: 15.98 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6067/0.6073, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004912/0.6123, allocations: 3.536 MB / 0.7316 GB, free: 7.891 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003015/0.6153, allocations: 1.318 MB / 0.7329 GB, free: 6.562 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008519/0.6162, allocations: 23.88 kB / 0.7329 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000471/0.6167, allocations: 79.22 kB / 0.7329 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007007/0.6174, allocations: 134.9 kB / 0.7331 GB, free: 6.328 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.6185, allocations: 286.9 kB / 0.7334 GB, free: 6.051 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.6197, allocations: 0.8305 MB / 0.7342 GB, free: 5.219 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000652/0.6204, allocations: 299.5 kB / 0.7344 GB, free: 4.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.6208, allocations: 230.8 kB / 0.7347 GB, free: 4.684 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004172/0.6213, allocations: 238.6 kB / 0.7349 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000125/0.6214, allocations: 24 kB / 0.7349 GB, free: 4.426 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.6215, allocations: 24 kB / 0.7349 GB, free: 4.402 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.6216, allocations: 99.48 kB / 0.735 GB, free: 4.305 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.6218, allocations: 153.3 kB / 0.7352 GB, free: 4.148 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.6226, allocations: 0.8044 MB / 0.736 GB, free: 3.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.6226, allocations: 3.938 kB / 0.736 GB, free: 3.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6226, allocations: 0 / 0.736 GB, free: 3.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.598e-05/0.6227, allocations: 0 / 0.736 GB, free: 3.34 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002023/0.6247, allocations: 0.9523 MB / 0.7369 GB, free: 2.328 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.6248, allocations: 8.031 kB / 0.7369 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002573/0.625, allocations: 86.97 kB / 0.737 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.626, allocations: 0.5446 MB / 0.7375 GB, free: 1.648 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/0.6261, allocations: 41.31 kB / 0.7376 GB, free: 1.609 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.6262, allocations: 56 kB / 0.7376 GB, free: 1.555 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.6274, allocations: 0.6076 MB / 0.7382 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.6275, allocations: 7.844 kB / 0.7382 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.216e-05/0.6275, allocations: 24 kB / 0.7382 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.6276, allocations: 12 kB / 0.7383 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.6286, allocations: 469 kB / 0.7387 GB, free: 432 kB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003181/0.6318, allocations: 2.02 MB / 0.7407 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009171/0.6327, allocations: 451.9 kB / 0.7411 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.6332, allocations: 258 kB / 0.7413 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.6332, allocations: 4.438 kB / 0.7414 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005861/0.6338, allocations: 269.2 kB / 0.7416 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.224e-06/0.6338, allocations: 0 / 0.7416 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001255/0.6351, allocations: 0.5922 MB / 0.7422 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.6351, allocations: 55.84 kB / 0.7422 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.6357, allocations: 442 kB / 0.7427 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.6357, allocations: 37.7 kB / 0.7427 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000244/0.636, allocations: 321 kB / 0.743 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.6361, allocations: 165.6 kB / 0.7432 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.6361, allocations: 12 kB / 0.7432 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.6363, allocations: 366.7 kB / 0.7435 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003933/0.6367, allocations: 173 kB / 0.7437 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004281/0.6372, allocations: 257.8 kB / 0.7439 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.6376, allocations: 219.9 kB / 0.7441 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6376, allocations: 4 kB / 0.7441 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001016/0.6386, allocations: 0.5663 MB / 0.7447 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.753e-05/0.6387, allocations: 39.38 kB / 0.7447 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.6387, allocations: 0 / 0.7447 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.6387, allocations: 7.938 kB / 0.7447 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.6392, allocations: 115.9 kB / 0.7449 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.591e-05/0.6392, allocations: 7.938 kB / 0.7449 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.6396, allocations: 67.75 kB / 0.7449 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.6397, allocations: 23.98 kB / 0.745 GB, free: 9.828 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002887/0.64, allocations: 203.8 kB / 0.7451 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.922e-05/0.6401, allocations: 59.33 kB / 0.7452 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.6402, allocations: 69.55 kB / 0.7453 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.6402, allocations: 8 kB / 0.7453 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.6402, allocations: 0 / 0.7453 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.6403, allocations: 3.984 kB / 0.7453 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001818/0.6421, allocations: 1.193 MB / 0.7464 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6421, allocations: 0 / 0.7464 GB, free: 8.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004544/0.6426, allocations: 99.83 kB / 0.7465 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.6426, allocations: 3.938 kB / 0.7465 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.6426, allocations: 12 kB / 0.7466 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.6426, allocations: 4 kB / 0.7466 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6426, allocations: 4 kB / 0.7466 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.6441, allocations: 0.768 MB / 0.7473 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002181/0.6443, allocations: 172.3 kB / 0.7475 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.6444, allocations: 15.95 kB / 0.7475 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.6447, allocations: 31.88 kB / 0.7475 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.94e-05/0.6448, allocations: 40.38 kB / 0.7476 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.6448, allocations: 15.98 kB / 0.7476 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003757/0.6452, allocations: 306.9 kB / 0.7479 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6452, allocations: 0 / 0.7479 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005077/0.6457, allocations: 143.5 kB / 0.748 GB, free: 6.602 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0001645/0.6459, allocations: 111.2 kB / 0.7481 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.6469, allocations: 493 kB / 0.7486 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.6469, allocations: 0 / 0.7486 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004215/0.6474, allocations: 226.8 kB / 0.7488 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.6482, allocations: 137.8 kB / 0.7489 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.6511, allocations: 1.632 MB / 0.7505 GB, free: 3.973 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.6517, allocations: 0.8902 MB / 0.7514 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003213/0.652, allocations: 60.58 kB / 0.7515 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.6521, allocations: 43.44 kB / 0.7515 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of SimCode: time 1.934e-06/0.6521, allocations: 0 / 0.7515 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of Templates: time 0.01192/0.6641, allocations: 5.356 MB / 0.7567 GB, free: 13.67 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) Environment - environmentSimulation: