Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.657/1.657, allocations: 288.4 MB / 304.3 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 185.8 kB / 373 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 0.6317 GB, free: 9.871 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008909/0.0008909, allocations: 104.1 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004151/0.0004152, allocations: 16.19 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2475, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8337/1.081, allocations: 144.9 MB / 1.122 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/1.082, allocations: 88.09 kB / 1.122 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03168/1.113, allocations: 12.57 MB / 1.135 GB, free: 29.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.795e-06/1.113, allocations: 4 kB / 1.135 GB, free: 29.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.647e-05/1.113, allocations: 19.44 kB / 1.135 GB, free: 29.44 MB / 0.698 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.00151/1.115, allocations: 0.9482 MB / 1.136 GB, free: 28.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/1.115, allocations: 7.719 kB / 1.136 GB, free: 28.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/1.115, allocations: 82.06 kB / 1.136 GB, free: 28.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007009/1.116, allocations: 0.55 MB / 1.136 GB, free: 28.31 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.717e-05/1.116, allocations: 47.06 kB / 1.136 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.122e-05/1.116, allocations: 59.06 kB / 1.136 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/1.117, allocations: 0.6662 MB / 1.137 GB, free: 28.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/1.117, allocations: 11.88 kB / 1.137 GB, free: 28.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-05/1.117, allocations: 20.56 kB / 1.137 GB, free: 28.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/1.117, allocations: 15.66 kB / 1.137 GB, free: 28.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009603/1.118, allocations: 0.5134 MB / 1.137 GB, free: 28 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002722/1.121, allocations: 2.1 MB / 1.139 GB, free: 26.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000949/1.122, allocations: 0.5333 MB / 1.14 GB, free: 26.86 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004258/1.122, allocations: 271.3 kB / 1.14 GB, free: 26.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.147e-05/1.122, allocations: 4.375 kB / 1.14 GB, free: 26.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005975/1.123, allocations: 306.8 kB / 1.141 GB, free: 26.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 3.386e-06/1.123, allocations: 0 / 1.141 GB, free: 26.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.001316/1.124, allocations: 0.7026 MB / 1.141 GB, free: 26.55 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.124, allocations: 169.6 kB / 1.141 GB, free: 26.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004426/1.125, allocations: 453.7 kB / 1.142 GB, free: 26.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.205e-05/1.125, allocations: 36.86 kB / 1.142 GB, free: 26.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002054/1.125, allocations: 318.8 kB / 1.142 GB, free: 25.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.415e-05/1.125, allocations: 168.1 kB / 1.142 GB, free: 25.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/1.125, allocations: 11.56 kB / 1.142 GB, free: 25.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001824/1.125, allocations: 363.5 kB / 1.143 GB, free: 25.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003799/1.126, allocations: 204.1 kB / 1.143 GB, free: 25.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004644/1.126, allocations: 312.4 kB / 1.143 GB, free: 25.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000769/1.127, allocations: 0.4959 MB / 1.144 GB, free: 25.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.127, allocations: 7.844 kB / 1.144 GB, free: 25.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0009836/1.128, allocations: 0.6227 MB / 1.144 GB, free: 25.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/1.128, allocations: 40.94 kB / 1.144 GB, free: 25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/1.128, allocations: 0 / 1.144 GB, free: 25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/1.128, allocations: 3.906 kB / 1.144 GB, free: 25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/1.129, allocations: 123.5 kB / 1.144 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.129, allocations: 3.875 kB / 1.144 GB, free: 24.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/1.129, allocations: 88.73 kB / 1.145 GB, free: 24.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.683e-05/1.129, allocations: 18.84 kB / 1.145 GB, free: 24.94 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002927/1.129, allocations: 213.4 kB / 1.145 GB, free: 24.81 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/1.129, allocations: 57.94 kB / 1.145 GB, free: 24.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/1.129, allocations: 65.08 kB / 1.145 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.13, allocations: 7.719 kB / 1.145 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.13, allocations: 0 / 1.145 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.13, allocations: 3.984 kB / 1.145 GB, free: 24.76 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/1.131, allocations: 1.323 MB / 1.146 GB, free: 24.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.131, allocations: 4 kB / 1.146 GB, free: 24.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/1.132, allocations: 107.5 kB / 1.146 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.132, allocations: 0 / 1.146 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/1.132, allocations: 15.52 kB / 1.146 GB, free: 24.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/1.132, allocations: 3.844 kB / 1.146 GB, free: 24.18 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.132, allocations: 0 / 1.146 GB, free: 24.18 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/1.133, allocations: 0.8922 MB / 1.147 GB, free: 23.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/1.133, allocations: 185.7 kB / 1.147 GB, free: 23.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/1.133, allocations: 13.53 kB / 1.147 GB, free: 23.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/1.134, allocations: 46.03 kB / 1.147 GB, free: 23.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/1.134, allocations: 46.38 kB / 1.147 GB, free: 23.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/1.134, allocations: 14.72 kB / 1.147 GB, free: 23.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003142/1.134, allocations: 314.2 kB / 1.148 GB, free: 23.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/1.134, allocations: 0 / 1.148 GB, free: 23.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004569/1.135, allocations: 150.1 kB / 1.148 GB, free: 23.59 MB / 0.698 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.conPID.trigger,$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 (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001664/1.135, allocations: 120.6 kB / 1.148 GB, free: 23.49 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009248/1.136, allocations: 0.5459 MB / 1.149 GB, free: 23.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.136, allocations: 3.812 kB / 1.149 GB, free: 23.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/1.136, allocations: 256.6 kB / 1.149 GB, free: 23.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008412/1.137, allocations: 147.2 kB / 1.149 GB, free: 23.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/1.14, allocations: 1.829 MB / 1.151 GB, free: 22.18 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/1.14, allocations: 0.8971 MB / 1.152 GB, free: 21.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002955/1.141, allocations: 58.86 kB / 1.152 GB, free: 21.37 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/1.141, allocations: 42.05 kB / 1.152 GB, free: 21.36 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/1.141, allocations: 0 / 1.152 GB, free: 21.36 MB / 0.698 GB Notification: Performance of Templates: time 0.01013/1.151, allocations: 6.359 MB / 1.158 GB, free: 17.33 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)