Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.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.001233/0.001233, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009017/0.0009017, allocations: 181.3 kB / 23.36 MB, free: 1.133 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.8999/0.8999, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.00153/0.00153, allocations: 241.8 kB / 260.5 MB, free: 12.69 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.6889/0.6889, 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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.937e-05, allocations: 6.906 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.005571/0.00559, allocations: 3.986 MB / 466.3 MB, free: 14.3 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.008367, allocations: 1.687 MB / 467.9 MB, free: 12.98 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003152/0.008682, allocations: 48.94 kB / 468 MB, free: 12.93 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000282/0.008964, allocations: 174.5 kB / 468.2 MB, free: 12.78 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004396/0.009404, allocations: 250.4 kB / 468.4 MB, free: 12.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007917/0.0102, allocations: 0.6724 MB / 469.1 MB, free: 11.87 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007903/0.01099, allocations: 1.226 MB / 470.3 MB, free: 10.64 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.01134, allocations: 336.8 kB / 470.6 MB, free: 10.29 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005504/0.01189, allocations: 0.6661 MB / 471.3 MB, free: 9.617 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002695/0.01216, allocations: 328.2 kB / 471.6 MB, free: 9.297 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.057e-05/0.01225, allocations: 100 kB / 471.7 MB, free: 9.199 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.79e-05/0.01235, allocations: 112 kB / 471.8 MB, free: 9.09 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.01248, allocations: 237.1 kB / 472.1 MB, free: 8.859 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.01264, allocations: 299 kB / 472.3 MB, free: 8.566 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005127/0.01316, allocations: 0.7428 MB / 473.1 MB, free: 7.82 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.01316, allocations: 0 / 473.1 MB, free: 7.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.01316, allocations: 0 / 473.1 MB, free: 7.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.01317, allocations: 0 / 473.1 MB, free: 7.82 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001166/0.01433, allocations: 1.282 MB / 474.4 MB, free: 6.523 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.712e-05/0.01436, allocations: 9.688 kB / 474.4 MB, free: 6.516 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.01454, allocations: 136.8 kB / 474.5 MB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006201/0.01516, allocations: 0.5998 MB / 475.1 MB, free: 5.758 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.274e-05/0.01522, allocations: 111.2 kB / 475.2 MB, free: 5.637 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.01529, allocations: 73.38 kB / 475.3 MB, free: 5.566 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005224/0.01581, allocations: 0.695 MB / 476 MB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.01583, allocations: 192 / 476 MB, free: 4.797 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.882e-05/0.01586, allocations: 40.11 kB / 476 MB, free: 4.758 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.01588, allocations: 16.69 kB / 476 MB, free: 4.742 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.0161, allocations: 166.2 kB / 476.2 MB, free: 4.582 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.0175, allocations: 1.446 MB / 477.7 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003788/0.01788, allocations: 306.1 kB / 478 MB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.01799, allocations: 103.8 kB / 478.1 MB, free: 2.711 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.01803, allocations: 16.42 kB / 478.1 MB, free: 2.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.01822, allocations: 224.5 kB / 478.3 MB, free: 2.461 MB / 426.7 MB Notification: Performance of pre-optimization done (n=60): time 1.653e-06/0.01822, allocations: 0.5625 kB / 478.3 MB, free: 2.461 MB / 426.7 MB Notification: Performance of matching and sorting (n=60): time 0.000395/0.01862, allocations: 320 kB / 478.6 MB, free: 2.148 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.01866, allocations: 115.2 kB / 478.7 MB, free: 2.008 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.01902, allocations: 0.6142 MB / 479.3 MB, free: 1.379 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.01905, allocations: 33.7 kB / 479.4 MB, free: 1.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.01919, allocations: 330.6 kB / 479.7 MB, free: 1.012 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.0193, allocations: 215 kB / 479.9 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.01941, allocations: 110.3 kB / 480 MB, free: 0.6875 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.11e-05/0.01948, allocations: 329.9 kB / 480.3 MB, free: 368 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.794e-05/0.01957, allocations: 68.27 kB / 480.4 MB, free: 296 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.01971, allocations: 222.2 kB / 480.6 MB, free: 28 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.01996, allocations: 275.6 kB / 480.9 MB, free: 15.73 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.01997, allocations: 3.938 kB / 480.9 MB, free: 15.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0003196/0.02029, allocations: 328.2 kB / 481.2 MB, free: 15.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.0203, allocations: 5.188 kB / 481.2 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.02031, allocations: 4 kB / 481.2 MB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.02032, allocations: 4 kB / 481.2 MB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003634/0.02068, allocations: 140.5 kB / 481.3 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.02069, allocations: 6.375 kB / 481.4 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.02086, allocations: 59.61 kB / 481.4 MB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.02088, allocations: 19.98 kB / 481.4 MB, free: 15.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001553/0.02103, allocations: 149.4 kB / 481.6 MB, free: 15.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001439/0.02118, allocations: 222.8 kB / 481.8 MB, free: 14.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002272/0.02141, allocations: 262.7 kB / 482.1 MB, free: 14.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.393e-06/0.02141, allocations: 0 / 482.1 MB, free: 14.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0003035/0.02171, allocations: 328.1 kB / 482.4 MB, free: 14.15 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.02172, allocations: 4.75 kB / 482.4 MB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.02172, allocations: 4 kB / 482.4 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.02172, allocations: 5.031 kB / 482.4 MB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.02203, allocations: 141.3 kB / 482.5 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.02203, allocations: 8 kB / 482.5 MB, free: 14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.02219, allocations: 56.91 kB / 482.6 MB, free: 13.94 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.02221, allocations: 24.42 kB / 482.6 MB, free: 13.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDDef.I.trigger_internal,limPIDOri.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001058/0.02231, allocations: 212.1 kB / 482.8 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.678e-05/0.02238, allocations: 73.36 kB / 482.9 MB, free: 13.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.22e-05/0.02246, allocations: 98.52 kB / 483 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.02247, allocations: 4.625 kB / 483 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.02247, allocations: 0 / 483 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.02247, allocations: 1.406 kB / 483 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006956/0.02317, allocations: 0.721 MB / 483.7 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.02317, allocations: 0 / 483.7 MB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.02342, allocations: 96.7 kB / 483.8 MB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.02342, allocations: 4 kB / 483.8 MB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.02344, allocations: 12.7 kB / 483.8 MB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.02345, allocations: 4.625 kB / 483.8 MB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.02345, allocations: 0.6562 kB / 483.8 MB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.02388, allocations: 481.2 kB / 484.3 MB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.02401, allocations: 91.28 kB / 484.4 MB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.02405, allocations: 16 kB / 484.4 MB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.02423, allocations: 29.03 kB / 484.4 MB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.02428, allocations: 33.06 kB / 484.5 MB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.0243, allocations: 15.98 kB / 484.5 MB, free: 12.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.0245, allocations: 310 kB / 484.8 MB, free: 11.72 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.0245, allocations: 0 / 484.8 MB, free: 11.72 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003706/0.02487, allocations: 299 kB / 485.1 MB, free: 11.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.839e-05/0.02495, allocations: 96.42 kB / 485.2 MB, free: 11.33 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004347/0.02539, allocations: 427.1 kB / 485.6 MB, free: 10.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.807e-06/0.0254, allocations: 9.25 kB / 485.6 MB, free: 10.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.02554, allocations: 140.6 kB / 485.7 MB, free: 10.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.02607, allocations: 280.9 kB / 486 MB, free: 10.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.02754, allocations: 1.394 MB / 487.4 MB, free: 9.082 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.375e-05/0.02764, allocations: 169.5 kB / 487.6 MB, free: 8.898 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002751/0.02791, allocations: 116 kB / 487.7 MB, free: 8.805 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.02829, allocations: 249.7 kB / 487.9 MB, free: 8.559 MB / 442.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02829, allocations: 3.938 kB / 487.9 MB, free: 8.555 MB / 442.7 MB Notification: Performance of Templates: time 0.01241/0.0407, allocations: 10.66 MB / 498.6 MB, free: 14.49 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4144986611790955]