Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009094/0.0009094, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8639/0.8639, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001604/0.001604, allocations: 245.8 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6792/0.6792, allocations: 138.4 MB / 402.2 MB, free: 0.5547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 462.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.824e-05/1.967e-05, allocations: 2.812 kB / 462.3 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.00542/0.00544, allocations: 3.942 MB / 466.2 MB, free: 14.38 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.008712, allocations: 1.399 MB / 467.6 MB, free: 13.31 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004557/0.009168, allocations: 28.97 kB / 467.6 MB, free: 13.28 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.009461, allocations: 125.5 kB / 467.8 MB, free: 13.18 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00029/0.009751, allocations: 198 kB / 468 MB, free: 13 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.01034, allocations: 414.3 kB / 468.4 MB, free: 12.6 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006122/0.01095, allocations: 0.976 MB / 469.3 MB, free: 11.62 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.01127, allocations: 298.6 kB / 469.6 MB, free: 11.31 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.01165, allocations: 0.5067 MB / 470.1 MB, free: 10.8 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.01185, allocations: 231.2 kB / 470.4 MB, free: 10.57 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 7.25e-05/0.01192, allocations: 89.47 kB / 470.4 MB, free: 10.49 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.429e-05/0.01198, allocations: 88 kB / 470.5 MB, free: 10.4 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 9.289e-05/0.01208, allocations: 179.3 kB / 470.7 MB, free: 10.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.01223, allocations: 247.3 kB / 471 MB, free: 9.984 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004156/0.01264, allocations: 0.5692 MB / 471.5 MB, free: 9.414 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.01265, allocations: 3.984 kB / 471.5 MB, free: 9.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01265, allocations: 0 / 471.5 MB, free: 9.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.01265, allocations: 0.7188 kB / 471.5 MB, free: 9.41 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.0009121/0.01357, allocations: 0.971 MB / 472.5 MB, free: 8.418 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.969e-05/0.0136, allocations: 16.73 kB / 472.5 MB, free: 8.402 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.564e-05/0.01369, allocations: 103 kB / 472.6 MB, free: 8.305 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004431/0.01413, allocations: 414.4 kB / 473 MB, free: 7.879 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/0.01416, allocations: 42.25 kB / 473.1 MB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.544e-05/0.01421, allocations: 60.94 kB / 473.1 MB, free: 7.777 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.01463, allocations: 494.8 kB / 473.6 MB, free: 7.258 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.01464, allocations: 5.547 kB / 473.6 MB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.01467, allocations: 25.47 kB / 473.6 MB, free: 7.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.01468, allocations: 19.94 kB / 473.7 MB, free: 7.211 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.01488, allocations: 163.2 kB / 473.8 MB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.01613, allocations: 1.28 MB / 475.1 MB, free: 5.746 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.01638, allocations: 227.8 kB / 475.3 MB, free: 5.516 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.71e-05/0.01648, allocations: 98.88 kB / 475.4 MB, free: 5.418 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.0165, allocations: 9.031 kB / 475.4 MB, free: 5.406 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.01667, allocations: 167.4 kB / 475.6 MB, free: 5.234 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 1.593e-06/0.01667, allocations: 2.312 kB / 475.6 MB, free: 5.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.0003021/0.01697, allocations: 258 kB / 475.8 MB, free: 4.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.017, allocations: 55.91 kB / 475.9 MB, free: 4.914 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.01721, allocations: 391.1 kB / 476.3 MB, free: 4.523 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.01723, allocations: 33.64 kB / 476.3 MB, free: 4.484 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01735, allocations: 278.7 kB / 476.6 MB, free: 4.211 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.561e-05/0.01743, allocations: 178.5 kB / 476.8 MB, free: 4.035 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.694e-05/0.01752, allocations: 94.88 kB / 476.8 MB, free: 3.938 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.01761, allocations: 372.5 kB / 477.2 MB, free: 3.566 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.01769, allocations: 78.98 kB / 477.3 MB, free: 3.477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.0178, allocations: 168.3 kB / 477.4 MB, free: 3.285 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.01799, allocations: 249.9 kB / 477.7 MB, free: 3.016 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.018, allocations: 4 kB / 477.7 MB, free: 3.012 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000273/0.01827, allocations: 325 kB / 478 MB, free: 2.676 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.01829, allocations: 33.7 kB / 478 MB, free: 2.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.0183, allocations: 1.75 kB / 478 MB, free: 2.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.01831, allocations: 8 kB / 478.1 MB, free: 2.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.01855, allocations: 108.7 kB / 478.2 MB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.01856, allocations: 7.984 kB / 478.2 MB, free: 2.516 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.01868, allocations: 52.48 kB / 478.2 MB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.01869, allocations: 20.67 kB / 478.2 MB, free: 2.445 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * 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.0001091/0.0188, allocations: 139.1 kB / 478.4 MB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.01885, allocations: 47.95 kB / 478.4 MB, free: 2.254 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.191e-05/0.01891, allocations: 70.19 kB / 478.5 MB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.01891, allocations: 4 kB / 478.5 MB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01891, allocations: 1.969 kB / 478.5 MB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01892, allocations: 0 / 478.5 MB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.01946, allocations: 0.5888 MB / 479.1 MB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01946, allocations: 0 / 479.1 MB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.01968, allocations: 90.02 kB / 479.2 MB, free: 1.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01968, allocations: 4 kB / 479.2 MB, free: 1.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.0197, allocations: 12 kB / 479.2 MB, free: 1.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.0197, allocations: 3.984 kB / 479.2 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.0197, allocations: 0 / 479.2 MB, free: 1.465 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.02003, allocations: 411.9 kB / 479.6 MB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.02011, allocations: 59.16 kB / 479.7 MB, free: 0.9961 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.02014, allocations: 8.688 kB / 479.7 MB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.02025, allocations: 25.73 kB / 479.7 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.0203, allocations: 40.38 kB / 479.7 MB, free: 0.9258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.02031, allocations: 16.55 kB / 479.7 MB, free: 0.9102 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.02042, allocations: 160.7 kB / 479.9 MB, free: 0.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02042, allocations: 1.562 kB / 479.9 MB, free: 0.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002256/0.02065, allocations: 143.6 kB / 480 MB, free: 0.6094 MB / 426.7 MB 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 8.554e-05/0.02073, allocations: 98.72 kB / 480.1 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002526/0.02099, allocations: 301.5 kB / 480.4 MB, free: 196 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.02099, allocations: 6 kB / 480.4 MB, free: 192 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.0211, allocations: 116.7 kB / 480.6 MB, free: 72 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.02145, allocations: 145.3 kB / 480.7 MB, free: 15.94 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.02275, allocations: 1.093 MB / 481.8 MB, free: 14.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.396e-05/0.02282, allocations: 133.9 kB / 481.9 MB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001455/0.02297, allocations: 65.11 kB / 482 MB, free: 14.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.02316, allocations: 157.3 kB / 482.1 MB, free: 14.48 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02316, allocations: 0 / 482.1 MB, free: 14.48 MB / 442.7 MB Notification: Performance of Templates: time 0.008344/0.03151, allocations: 6.267 MB / 488.4 MB, free: 8.676 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2024531881324947]