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.827/1.827, allocations: 288.3 MB / 303.2 MB, free: 8.16 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.001387/0.001387, allocations: 187.8 kB / 371.8 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.87/1.87, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0008601/0.00086, allocations: 86.92 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.000517, allocations: 15 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2811, allocations: 115.3 MB / 0.9794 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.351, allocations: 144.9 MB / 1.121 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/1.351, allocations: 78.94 kB / 1.121 GB, free: 16.15 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03037/1.382, allocations: 12.54 MB / 1.133 GB, free: 29.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/1.382, allocations: 3.938 kB / 1.133 GB, free: 29.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.218e-05/1.382, allocations: 15.53 kB / 1.133 GB, free: 29.15 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.001705/1.384, allocations: 0.9553 MB / 1.134 GB, free: 28.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/1.384, allocations: 7.656 kB / 1.134 GB, free: 28.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/1.384, allocations: 85.67 kB / 1.134 GB, free: 28.39 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008268/1.385, allocations: 0.5325 MB / 1.135 GB, free: 28.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/1.385, allocations: 42.41 kB / 1.135 GB, free: 28.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/1.385, allocations: 58.38 kB / 1.135 GB, free: 28.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/1.386, allocations: 0.6669 MB / 1.136 GB, free: 27.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/1.386, allocations: 3.906 kB / 1.136 GB, free: 27.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/1.386, allocations: 33.11 kB / 1.136 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/1.386, allocations: 11.22 kB / 1.136 GB, free: 27.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009621/1.387, allocations: 0.5229 MB / 1.136 GB, free: 27.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002972/1.39, allocations: 2.089 MB / 1.138 GB, free: 26.69 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/1.391, allocations: 0.5334 MB / 1.139 GB, free: 26.58 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.177e-05/1.391, allocations: 12.23 kB / 1.139 GB, free: 26.57 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000613/1.392, allocations: 298.4 kB / 1.139 GB, free: 26.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=50): time 4.048e-06/1.392, allocations: 4 kB / 1.139 GB, free: 26.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=50): time 0.001362/1.393, allocations: 0.7019 MB / 1.14 GB, free: 26.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/1.393, allocations: 173.9 kB / 1.14 GB, free: 26.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/1.394, allocations: 388.7 kB / 1.14 GB, free: 25.97 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/1.394, allocations: 37.11 kB / 1.14 GB, free: 25.94 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/1.394, allocations: 319.1 kB / 1.14 GB, free: 25.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/1.394, allocations: 169.2 kB / 1.141 GB, free: 25.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.306e-05/1.394, allocations: 7.312 kB / 1.141 GB, free: 25.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002149/1.394, allocations: 369.7 kB / 1.141 GB, free: 25.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/1.395, allocations: 202.7 kB / 1.141 GB, free: 25.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/1.395, allocations: 304.9 kB / 1.141 GB, free: 25.15 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/1.396, allocations: 261.2 kB / 1.142 GB, free: 25.09 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.396, allocations: 0 / 1.142 GB, free: 25.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001009/1.397, allocations: 0.6177 MB / 1.142 GB, free: 24.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.093e-05/1.397, allocations: 41.33 kB / 1.142 GB, free: 24.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.397, allocations: 0 / 1.142 GB, free: 24.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/1.397, allocations: 3.75 kB / 1.142 GB, free: 24.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/1.397, allocations: 125.7 kB / 1.143 GB, free: 24.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/1.397, allocations: 3.688 kB / 1.143 GB, free: 24.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/1.398, allocations: 90.77 kB / 1.143 GB, free: 24.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.735e-05/1.398, allocations: 15.41 kB / 1.143 GB, free: 24.82 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.0003354/1.398, allocations: 217.4 kB / 1.143 GB, free: 24.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/1.398, allocations: 53.75 kB / 1.143 GB, free: 24.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/1.398, allocations: 71.08 kB / 1.143 GB, free: 24.65 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.398, allocations: 3.844 kB / 1.143 GB, free: 24.65 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/1.398, allocations: 4 kB / 1.143 GB, free: 24.64 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/1.398, allocations: 3.984 kB / 1.143 GB, free: 24.64 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/1.4, allocations: 1.317 MB / 1.144 GB, free: 24.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/1.4, allocations: 7.859 kB / 1.144 GB, free: 24.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/1.401, allocations: 116.1 kB / 1.144 GB, free: 24.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/1.401, allocations: 7.828 kB / 1.144 GB, free: 24.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/1.401, allocations: 7.625 kB / 1.144 GB, free: 24.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/1.401, allocations: 3.844 kB / 1.144 GB, free: 24.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.401, allocations: 0 / 1.144 GB, free: 24.06 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/1.402, allocations: 0.8901 MB / 1.145 GB, free: 23.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/1.402, allocations: 182.6 kB / 1.145 GB, free: 23.65 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/1.402, allocations: 10.91 kB / 1.145 GB, free: 23.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/1.403, allocations: 62.33 kB / 1.145 GB, free: 23.63 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.403, allocations: 35.02 kB / 1.146 GB, free: 23.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/1.403, allocations: 18.86 kB / 1.146 GB, free: 23.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000349/1.403, allocations: 308.3 kB / 1.146 GB, free: 23.49 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.403, allocations: 4 kB / 1.146 GB, free: 23.49 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004861/1.404, allocations: 150.1 kB / 1.146 GB, free: 23.46 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.0001926/1.404, allocations: 126.2 kB / 1.146 GB, free: 23.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009935/1.405, allocations: 0.5449 MB / 1.147 GB, free: 23.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.405, allocations: 4 kB / 1.147 GB, free: 23.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004145/1.405, allocations: 255.6 kB / 1.147 GB, free: 23.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006691/1.406, allocations: 140.2 kB / 1.147 GB, free: 23.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/1.409, allocations: 1.822 MB / 1.149 GB, free: 22.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005133/1.41, allocations: 0.9084 MB / 1.15 GB, free: 21.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003201/1.41, allocations: 70.86 kB / 1.15 GB, free: 21.22 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/1.41, allocations: 38.34 kB / 1.15 GB, free: 21.21 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/1.41, allocations: 0 / 1.15 GB, free: 21.21 MB / 0.698 GB Notification: Performance of Templates: time 0.01177/1.422, allocations: 6.239 MB / 1.156 GB, free: 18.2 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)