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.0009076/0.0009076, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001498/0.001498, allocations: 169 kB / 23.02 MB, free: 1.547 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.8619/0.8619, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.001719/0.001719, allocations: 227.1 kB / 260.2 MB, free: 12.82 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.6975/0.6975, allocations: 138.4 MB / 455.2 MB, free: 1.559 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.664e-06/1.664e-06, allocations: 0 / 0.5551 GB, free: 0.5938 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.785e-05/1.952e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.00522/0.00524, allocations: 4.021 MB / 0.559 GB, free: 12.55 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.007722, allocations: 1.34 MB / 0.5603 GB, free: 11.2 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003931/0.008115, allocations: 31.81 kB / 0.5603 GB, free: 11.17 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.008551, allocations: 134.6 kB / 0.5605 GB, free: 11.04 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004193/0.00897, allocations: 190.2 kB / 0.5607 GB, free: 10.85 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006552/0.009626, allocations: 419.3 kB / 0.5611 GB, free: 10.44 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.01027, allocations: 0.9707 MB / 0.562 GB, free: 9.465 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003403/0.01061, allocations: 298.5 kB / 0.5623 GB, free: 9.152 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003555/0.01097, allocations: 0.4989 MB / 0.5628 GB, free: 8.652 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002041/0.01117, allocations: 235.2 kB / 0.563 GB, free: 8.422 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.329e-05/0.01124, allocations: 84 kB / 0.5631 GB, free: 8.34 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.839e-05/0.01131, allocations: 92 kB / 0.5632 GB, free: 8.25 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.0114, allocations: 175.4 kB / 0.5633 GB, free: 8.078 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.01156, allocations: 263.3 kB / 0.5636 GB, free: 7.82 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004322/0.01199, allocations: 0.5565 MB / 0.5641 GB, free: 7.262 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.012, allocations: 3.938 kB / 0.5641 GB, free: 7.258 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.012, allocations: 0 / 0.5641 GB, free: 7.258 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.012, allocations: 0 / 0.5641 GB, free: 7.258 MB / 490.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.001085/0.01309, allocations: 1.159 MB / 0.5653 GB, free: 6.051 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.01312, allocations: 8.75 kB / 0.5653 GB, free: 6.043 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.01325, allocations: 128.4 kB / 0.5654 GB, free: 5.918 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.01377, allocations: 0.5416 MB / 0.5659 GB, free: 5.344 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.0138, allocations: 45.69 kB / 0.566 GB, free: 5.297 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.01386, allocations: 64.36 kB / 0.566 GB, free: 5.234 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005648/0.01442, allocations: 0.5109 MB / 0.5665 GB, free: 4.68 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.01444, allocations: 16.08 kB / 0.5665 GB, free: 4.664 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.01448, allocations: 20.38 kB / 0.5666 GB, free: 4.645 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.01449, allocations: 19.94 kB / 0.5666 GB, free: 4.625 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003402/0.01483, allocations: 223.7 kB / 0.5668 GB, free: 4.406 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.01639, allocations: 1.795 MB / 0.5685 GB, free: 2.559 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.01676, allocations: 266.3 kB / 0.5688 GB, free: 2.281 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.01692, allocations: 129.1 kB / 0.5689 GB, free: 2.152 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.01695, allocations: 16.47 kB / 0.5689 GB, free: 2.137 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002197/0.01717, allocations: 183.9 kB / 0.5691 GB, free: 1.941 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 2.184e-06/0.01717, allocations: 0 / 0.5691 GB, free: 1.941 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.0005112/0.01768, allocations: 384.7 kB / 0.5695 GB, free: 1.559 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.01772, allocations: 63.84 kB / 0.5695 GB, free: 1.484 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.01801, allocations: 442.6 kB / 0.57 GB, free: 1.035 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.01804, allocations: 33.7 kB / 0.57 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.0182, allocations: 384.3 kB / 0.5704 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.12e-05/0.01829, allocations: 178.4 kB / 0.5705 GB, free: 448 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.49e-05/0.01839, allocations: 96 kB / 0.5706 GB, free: 344 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.01853, allocations: 0.5352 MB / 0.5711 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.01867, allocations: 98.97 kB / 0.5712 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.01884, allocations: 209.9 kB / 0.5714 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.01914, allocations: 308.7 kB / 0.5717 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.01914, allocations: 0 / 0.5717 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004405/0.01958, allocations: 452.4 kB / 0.5722 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.01961, allocations: 33.7 kB / 0.5722 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.01962, allocations: 0 / 0.5722 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.01963, allocations: 4.25 kB / 0.5722 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000266/0.01989, allocations: 115.9 kB / 0.5723 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.0199, allocations: 11.88 kB / 0.5723 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.02003, allocations: 47.72 kB / 0.5724 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.02005, allocations: 20 kB / 0.5724 GB, free: 14.4 MB / 0.4948 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 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0001271/0.02018, allocations: 188.4 kB / 0.5726 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/0.02024, allocations: 79.61 kB / 0.5726 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.0203, allocations: 57.45 kB / 0.5727 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.0203, allocations: 8 kB / 0.5727 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.02031, allocations: 3.938 kB / 0.5727 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.02031, allocations: 3.984 kB / 0.5727 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007796/0.02109, allocations: 0.8588 MB / 0.5736 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.0211, allocations: 4 kB / 0.5736 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.02133, allocations: 91.83 kB / 0.5736 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.02134, allocations: 3.984 kB / 0.5736 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.02136, allocations: 19.88 kB / 0.5737 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.02136, allocations: 4 kB / 0.5737 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02136, allocations: 0 / 0.5737 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.02188, allocations: 0.5566 MB / 0.5742 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.959e-05/0.02198, allocations: 99.45 kB / 0.5743 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.02201, allocations: 7.938 kB / 0.5743 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.02212, allocations: 23.98 kB / 0.5743 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.02219, allocations: 36.42 kB / 0.5744 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.02221, allocations: 12 kB / 0.5744 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001767/0.02239, allocations: 291 kB / 0.5747 GB, free: 12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.02239, allocations: 0 / 0.5747 GB, free: 12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002475/0.02263, allocations: 151.6 kB / 0.5748 GB, free: 11.85 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * 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.418e-05/0.02272, allocations: 107.2 kB / 0.5749 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000368/0.02309, allocations: 348.3 kB / 0.5752 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.02309, allocations: 0 / 0.5752 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.02325, allocations: 144 kB / 0.5754 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.02367, allocations: 157.9 kB / 0.5755 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.02513, allocations: 1.176 MB / 0.5767 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.704e-05/0.02521, allocations: 133.9 kB / 0.5768 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001344/0.02535, allocations: 64.53 kB / 0.5769 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.02543, allocations: 44.48 kB / 0.5769 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.02543, allocations: 0 / 0.5769 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of Templates: time 0.007727/0.03316, allocations: 6.127 MB / 0.5829 GB, free: 3.613 MB / 0.4948 GB " [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.3518349369987845]