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.001095/0.001095, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001131/0.001131, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9354/0.9354, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.001732/0.001732, allocations: 245.6 kB / 261.3 MB, free: 12.65 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.7367/0.7367, allocations: 138.4 MB / 456.3 MB, free: 29.98 MB / 410.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.213e-06/1.213e-06, allocations: 0 / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.74e-05, allocations: 3.406 kB / 0.5563 GB, free: 15.93 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.004976/0.004993, allocations: 3.936 MB / 0.5601 GB, free: 11.96 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.007531, allocations: 1.344 MB / 0.5615 GB, free: 10.61 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.007986, allocations: 27.81 kB / 0.5615 GB, free: 10.58 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.008322, allocations: 134.7 kB / 0.5616 GB, free: 10.45 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004157/0.008738, allocations: 190.2 kB / 0.5618 GB, free: 10.26 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008235/0.009561, allocations: 415.2 kB / 0.5622 GB, free: 9.855 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.01065, allocations: 0.9824 MB / 0.5631 GB, free: 8.871 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005238/0.01117, allocations: 290.6 kB / 0.5634 GB, free: 8.566 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006938/0.01187, allocations: 0.5106 MB / 0.5639 GB, free: 8.055 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.01222, allocations: 235.2 kB / 0.5641 GB, free: 7.824 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.01235, allocations: 88 kB / 0.5642 GB, free: 7.738 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.01245, allocations: 91.94 kB / 0.5643 GB, free: 7.648 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001355/0.01259, allocations: 175.4 kB / 0.5645 GB, free: 7.477 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.01284, allocations: 247.4 kB / 0.5647 GB, free: 7.234 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006545/0.0135, allocations: 0.5643 MB / 0.5653 GB, free: 6.668 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.0135, allocations: 0 / 0.5653 GB, free: 6.668 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.0135, allocations: 4 kB / 0.5653 GB, free: 6.664 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.01352, allocations: 0 / 0.5653 GB, free: 6.664 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.001545/0.01506, allocations: 1.163 MB / 0.5664 GB, free: 5.453 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.0151, allocations: 17.94 kB / 0.5664 GB, free: 5.438 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.0153, allocations: 128.4 kB / 0.5666 GB, free: 5.312 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000746/0.01604, allocations: 0.5377 MB / 0.5671 GB, free: 4.746 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/0.01608, allocations: 41.69 kB / 0.5671 GB, free: 4.703 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.948e-05/0.01617, allocations: 68.38 kB / 0.5672 GB, free: 4.637 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007025/0.01687, allocations: 491 kB / 0.5676 GB, free: 4.113 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.0169, allocations: 4.125 kB / 0.5677 GB, free: 4.109 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.042e-05/0.01695, allocations: 28.36 kB / 0.5677 GB, free: 4.082 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.01696, allocations: 19.94 kB / 0.5677 GB, free: 4.062 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.01734, allocations: 182.2 kB / 0.5679 GB, free: 3.887 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002273/0.01961, allocations: 1.721 MB / 0.5696 GB, free: 2.113 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.02005, allocations: 252.1 kB / 0.5698 GB, free: 1.852 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.02023, allocations: 113 kB / 0.5699 GB, free: 1.738 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.02026, allocations: 8.5 kB / 0.5699 GB, free: 1.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.02053, allocations: 175.8 kB / 0.5701 GB, free: 1.547 MB / 490.7 MB Notification: Performance of pre-optimization done (n=49): time 2.866e-06/0.02053, allocations: 0 / 0.5701 GB, free: 1.547 MB / 490.7 MB Notification: Performance of matching and sorting (n=49): time 0.0005918/0.02112, allocations: 340.7 kB / 0.5704 GB, free: 1.211 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.02116, allocations: 59.91 kB / 0.5705 GB, free: 1.141 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.02153, allocations: 435.1 kB / 0.5709 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.02157, allocations: 37.7 kB / 0.5709 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.0218, allocations: 383.5 kB / 0.5713 GB, free: 284 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.02192, allocations: 178.4 kB / 0.5714 GB, free: 104 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.02208, allocations: 104 kB / 0.5715 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.02226, allocations: 0.5389 MB / 0.5721 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.0224, allocations: 82.97 kB / 0.5722 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.0226, allocations: 193.8 kB / 0.5723 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.02298, allocations: 276.7 kB / 0.5726 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.02298, allocations: 0 / 0.5726 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005707/0.02356, allocations: 424.6 kB / 0.573 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.02359, allocations: 33.7 kB / 0.573 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.0236, allocations: 0 / 0.573 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.02361, allocations: 4 kB / 0.573 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.024, allocations: 115.8 kB / 0.5732 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.02401, allocations: 4 kB / 0.5732 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.02423, allocations: 51.66 kB / 0.5732 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.491e-05/0.02426, allocations: 19.98 kB / 0.5732 GB, free: 14.14 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 (conNoRes.conPID.I.trigger_internal,conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$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.0001753/0.02444, allocations: 193.1 kB / 0.5734 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/0.02452, allocations: 67.67 kB / 0.5735 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.02462, allocations: 65.44 kB / 0.5735 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.02462, allocations: 4 kB / 0.5735 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.02463, allocations: 0 / 0.5735 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.02464, allocations: 7.922 kB / 0.5735 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.02565, allocations: 0.7616 MB / 0.5743 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.02566, allocations: 4 kB / 0.5743 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.02601, allocations: 91.83 kB / 0.5744 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.02602, allocations: 8 kB / 0.5744 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.02605, allocations: 7.984 kB / 0.5744 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.02605, allocations: 11.94 kB / 0.5744 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.02605, allocations: 3.938 kB / 0.5744 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006373/0.02669, allocations: 0.5174 MB / 0.5749 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.02684, allocations: 95.55 kB / 0.575 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.0269, allocations: 12 kB / 0.575 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.02709, allocations: 15.98 kB / 0.575 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.909e-05/0.02717, allocations: 48.36 kB / 0.5751 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.0272, allocations: 8 kB / 0.5751 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002121/0.02741, allocations: 270.9 kB / 0.5753 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.02741, allocations: 0 / 0.5753 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004488/0.02786, allocations: 147.6 kB / 0.5755 GB, free: 11.76 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 0.0001212/0.02798, allocations: 120.3 kB / 0.5756 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.02841, allocations: 320.6 kB / 0.5759 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.02841, allocations: 0 / 0.5759 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/0.02861, allocations: 127.5 kB / 0.576 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007345/0.02934, allocations: 148.8 kB / 0.5762 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.03141, allocations: 1.168 MB / 0.5773 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.03153, allocations: 133.9 kB / 0.5774 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002435/0.03177, allocations: 56.55 kB / 0.5775 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003228/0.03209, allocations: 190.1 kB / 0.5777 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.03209, allocations: 0 / 0.5777 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of Templates: time 0.01217/0.04426, allocations: 6.466 MB / 0.584 GB, free: 3.129 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.599691815674305]