Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001194/0.001194, allocations: 180.7 kB / 371.6 MB, free: 3.41 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.808/1.808, allocations: 205.1 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009266/0.0009266, allocations: 97.22 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.782e-05/3.784e-05, allocations: 3.984 kB / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2904, allocations: 116.3 MB / 0.9798 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8161/1.107, allocations: 145.7 MB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/1.107, allocations: 75.84 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.0286/1.135, allocations: 12.52 MB / 1.134 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.603e-06/1.136, allocations: 0 / 1.134 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.805e-05/1.136, allocations: 16 kB / 1.134 GB, free: 33.04 MB / 0.7448 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.001235/1.137, allocations: 0.8724 MB / 1.135 GB, free: 32.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/1.137, allocations: 12.03 kB / 1.135 GB, free: 32.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/1.137, allocations: 79.86 kB / 1.135 GB, free: 32.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/1.138, allocations: 0.5331 MB / 1.136 GB, free: 31.76 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/1.138, allocations: 48.12 kB / 1.136 GB, free: 31.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-05/1.138, allocations: 62.08 kB / 1.136 GB, free: 31.69 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008798/1.139, allocations: 0.6061 MB / 1.137 GB, free: 31.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/1.139, allocations: 0 / 1.137 GB, free: 31.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/1.139, allocations: 26.56 kB / 1.137 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/1.139, allocations: 12 kB / 1.137 GB, free: 31.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006305/1.14, allocations: 438.4 kB / 1.137 GB, free: 31.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/1.142, allocations: 2.085 MB / 1.139 GB, free: 29.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006553/1.143, allocations: 431.4 kB / 1.139 GB, free: 29.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002693/1.143, allocations: 221.4 kB / 1.14 GB, free: 29.45 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.971e-05/1.143, allocations: 5 kB / 1.14 GB, free: 29.45 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004226/1.144, allocations: 257.7 kB / 1.14 GB, free: 29.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=50): time 2.605e-06/1.144, allocations: 4.5 kB / 1.14 GB, free: 29.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=50): time 0.0006977/1.145, allocations: 429 kB / 1.14 GB, free: 29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/1.145, allocations: 171.7 kB / 1.141 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/1.145, allocations: 393.1 kB / 1.141 GB, free: 28.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/1.145, allocations: 37.17 kB / 1.141 GB, free: 28.49 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/1.145, allocations: 313.7 kB / 1.141 GB, free: 28.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/1.145, allocations: 169.9 kB / 1.141 GB, free: 28.17 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.24e-05/1.145, allocations: 14.5 kB / 1.141 GB, free: 28.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001141/1.146, allocations: 364.7 kB / 1.142 GB, free: 27.84 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/1.146, allocations: 150.7 kB / 1.142 GB, free: 27.75 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/1.146, allocations: 267.2 kB / 1.142 GB, free: 27.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/1.146, allocations: 208 kB / 1.142 GB, free: 27.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.146, allocations: 7.828 kB / 1.142 GB, free: 27.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007506/1.147, allocations: 0.5253 MB / 1.143 GB, free: 27.05 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/1.147, allocations: 34.36 kB / 1.143 GB, free: 27.01 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.147, allocations: 4.75 kB / 1.143 GB, free: 27.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/1.147, allocations: 4.188 kB / 1.143 GB, free: 27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/1.148, allocations: 122.9 kB / 1.143 GB, free: 26.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/1.148, allocations: 5.5 kB / 1.143 GB, free: 26.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/1.148, allocations: 89.89 kB / 1.143 GB, free: 26.83 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/1.148, allocations: 18.33 kB / 1.143 GB, free: 26.82 MB / 0.7448 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 () * 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.0001143/1.148, allocations: 135.6 kB / 1.143 GB, free: 26.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/1.149, allocations: 60.28 kB / 1.143 GB, free: 26.64 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/1.149, allocations: 64.55 kB / 1.143 GB, free: 26.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/1.149, allocations: 4 kB / 1.143 GB, free: 26.61 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.149, allocations: 4 kB / 1.143 GB, free: 26.61 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/1.149, allocations: 2.062 kB / 1.143 GB, free: 26.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/1.15, allocations: 1.224 MB / 1.145 GB, free: 25.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/1.15, allocations: 1.922 kB / 1.145 GB, free: 25.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/1.151, allocations: 106.7 kB / 1.145 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.151, allocations: 4.562 kB / 1.145 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/1.151, allocations: 12.5 kB / 1.145 GB, free: 25.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/1.151, allocations: 4.875 kB / 1.145 GB, free: 25.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.151, allocations: 0 / 1.145 GB, free: 25.79 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008938/1.152, allocations: 0.7525 MB / 1.145 GB, free: 25.28 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/1.152, allocations: 181.1 kB / 1.146 GB, free: 25.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/1.152, allocations: 12.2 kB / 1.146 GB, free: 25.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003943/1.152, allocations: 52.3 kB / 1.146 GB, free: 25.09 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.153, allocations: 37.55 kB / 1.146 GB, free: 25.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/1.153, allocations: 13.02 kB / 1.146 GB, free: 25.07 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003247/1.153, allocations: 312.7 kB / 1.146 GB, free: 24.86 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.153, allocations: 4 kB / 1.146 GB, free: 24.86 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000425/1.153, allocations: 146.5 kB / 1.146 GB, free: 24.73 MB / 0.7448 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) * 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.0001641/1.154, allocations: 118.5 kB / 1.146 GB, free: 24.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006097/1.154, allocations: 466.2 kB / 1.147 GB, free: 24.3 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.154, allocations: 3.938 kB / 1.147 GB, free: 24.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/1.154, allocations: 206.2 kB / 1.147 GB, free: 24.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006429/1.155, allocations: 142.2 kB / 1.147 GB, free: 24.08 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002479/1.158, allocations: 1.267 MB / 1.148 GB, free: 23.05 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/1.158, allocations: 0.9057 MB / 1.149 GB, free: 22.21 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003199/1.158, allocations: 66.59 kB / 1.149 GB, free: 22.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/1.158, allocations: 39.44 kB / 1.149 GB, free: 22.12 MB / 0.7448 GB Notification: Performance of SimCode: time 7.42e-07/1.159, allocations: 0 / 1.149 GB, free: 22.12 MB / 0.7448 GB Notification: Performance of Templates: time 0.0126/1.171, allocations: 6.244 MB / 1.155 GB, free: 18.6 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)