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.0008341/0.000834, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.007629/0.007629, allocations: 170.7 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.573/1.573, allocations: 252 MB / 0.5105 GB, free: 4.66 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.0005983/0.0005986, allocations: 15.98 kB / 0.6249 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6121/0.6128, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004137/0.6169, allocations: 3.732 MB / 0.7324 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002471/0.6195, allocations: 1.317 MB / 0.7336 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004129/0.6199, allocations: 27.88 kB / 0.7337 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.6202, allocations: 91.22 kB / 0.7338 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003501/0.6206, allocations: 150.8 kB / 0.7339 GB, free: 5.91 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009352/0.6215, allocations: 382.1 kB / 0.7343 GB, free: 5.543 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008772/0.6224, allocations: 0.8811 MB / 0.7351 GB, free: 4.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000601/0.623, allocations: 416.1 kB / 0.7355 GB, free: 4.234 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.6233, allocations: 234.8 kB / 0.7358 GB, free: 4.004 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.6236, allocations: 258.4 kB / 0.736 GB, free: 3.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.239e-05/0.6236, allocations: 24 kB / 0.736 GB, free: 3.727 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.751e-05/0.6237, allocations: 23.94 kB / 0.736 GB, free: 3.703 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.298e-05/0.6238, allocations: 103.4 kB / 0.7361 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.6241, allocations: 339.8 kB / 0.7365 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.6248, allocations: 0.9457 MB / 0.7374 GB, free: 2.312 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6248, allocations: 4 kB / 0.7374 GB, free: 2.309 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6248, allocations: 0 / 0.7374 GB, free: 2.309 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.6249, allocations: 0 / 0.7374 GB, free: 2.309 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.001693/0.6266, allocations: 0.9563 MB / 0.7383 GB, free: 1.293 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.6266, allocations: 8.031 kB / 0.7383 GB, free: 1.285 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.6268, allocations: 87.91 kB / 0.7384 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007568/0.6275, allocations: 0.5495 MB / 0.739 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.433e-05/0.6276, allocations: 49.69 kB / 0.739 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.514e-05/0.6277, allocations: 52.38 kB / 0.7391 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.6288, allocations: 0.6119 MB / 0.7396 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.6289, allocations: 4 kB / 0.7397 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.117e-05/0.6289, allocations: 28 kB / 0.7397 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.6289, allocations: 15.94 kB / 0.7397 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.63, allocations: 465 kB / 0.7401 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002825/0.6328, allocations: 2.032 MB / 0.7421 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/0.6338, allocations: 454.4 kB / 0.7426 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004465/0.6342, allocations: 246.1 kB / 0.7428 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.6343, allocations: 4.438 kB / 0.7428 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005853/0.6349, allocations: 269.2 kB / 0.7431 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=49): time 2.415e-06/0.6349, allocations: 4 kB / 0.7431 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49): time 0.001273/0.6362, allocations: 0.5922 MB / 0.7436 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.6362, allocations: 59.84 kB / 0.7437 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.6367, allocations: 446.7 kB / 0.7441 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.6367, allocations: 37.7 kB / 0.7442 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/0.637, allocations: 320.3 kB / 0.7445 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.6371, allocations: 169.5 kB / 0.7446 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.6372, allocations: 53.62 kB / 0.7447 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6374, allocations: 362.8 kB / 0.745 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.6378, allocations: 177 kB / 0.7452 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.6382, allocations: 257.8 kB / 0.7454 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008126/0.6391, allocations: 460 kB / 0.7459 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.6391, allocations: 0 / 0.7459 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001017/0.6401, allocations: 0.5704 MB / 0.7464 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.194e-05/0.6401, allocations: 43.39 kB / 0.7465 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.6402, allocations: 4 kB / 0.7465 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.6402, allocations: 4 kB / 0.7465 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.6407, allocations: 119.8 kB / 0.7466 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.6407, allocations: 4 kB / 0.7466 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003744/0.6411, allocations: 75.5 kB / 0.7467 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.6411, allocations: 23.98 kB / 0.7467 GB, free: 8.441 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002456/0.6414, allocations: 212.3 kB / 0.7469 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.361e-05/0.6414, allocations: 59.28 kB / 0.7469 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.6416, allocations: 61.58 kB / 0.747 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.6416, allocations: 8 kB / 0.747 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6416, allocations: 4 kB / 0.747 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6416, allocations: 0 / 0.747 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.6433, allocations: 1.189 MB / 0.7482 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6433, allocations: 3.984 kB / 0.7482 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004622/0.6438, allocations: 95.89 kB / 0.7483 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.6438, allocations: 0 / 0.7483 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.6438, allocations: 8 kB / 0.7483 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.6438, allocations: 3.984 kB / 0.7483 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6438, allocations: 4 kB / 0.7483 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.6452, allocations: 0.7757 MB / 0.749 GB, free: 5.945 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.6453, allocations: 180.3 kB / 0.7492 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.6454, allocations: 8 kB / 0.7492 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.6457, allocations: 31.97 kB / 0.7493 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.699e-05/0.6458, allocations: 40.33 kB / 0.7493 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.6459, allocations: 12 kB / 0.7493 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003128/0.6462, allocations: 310.9 kB / 0.7496 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.222e-06/0.6462, allocations: 4 kB / 0.7496 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004362/0.6466, allocations: 147.4 kB / 0.7497 GB, free: 5.211 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001393/0.6468, allocations: 111.2 kB / 0.7499 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009168/0.6477, allocations: 497.2 kB / 0.7503 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6477, allocations: 0 / 0.7503 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004185/0.6481, allocations: 218.4 kB / 0.7505 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008098/0.6489, allocations: 146 kB / 0.7507 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/0.6516, allocations: 1.696 MB / 0.7523 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.6521, allocations: 0.8902 MB / 0.7532 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002731/0.6524, allocations: 64.58 kB / 0.7533 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.6525, allocations: 43.44 kB / 0.7533 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.6525, allocations: 0 / 0.7533 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of Templates: time 0.01039/0.6629, allocations: 5.525 MB / 0.7587 GB, free: 12.04 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: