Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.612/1.612, allocations: 289.7 MB / 302.2 MB, free: 2.195 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.001068/0.001069, allocations: 187.1 kB / 371.6 MB, free: 3.398 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.853/1.853, 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.0008714/0.0008717, allocations: 95.16 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.241e-05, allocations: 4 kB / 0.8662 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2762, allocations: 116.3 MB / 0.9798 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7953/1.072, allocations: 147 MB / 1.123 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/1.072, allocations: 82.38 kB / 1.123 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04111/1.113, allocations: 16.92 MB / 1.14 GB, free: 29.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/1.113, allocations: 0 / 1.14 GB, free: 29.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.498e-05/1.113, allocations: 23.94 kB / 1.14 GB, free: 29.64 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001419/1.114, allocations: 0.9334 MB / 1.141 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.115, allocations: 12.59 kB / 1.141 GB, free: 28.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/1.115, allocations: 95.3 kB / 1.141 GB, free: 28.69 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/1.116, allocations: 0.5931 MB / 1.142 GB, free: 28.23 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.303e-05/1.116, allocations: 100.5 kB / 1.142 GB, free: 28.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.019e-05/1.116, allocations: 57.72 kB / 1.142 GB, free: 28.1 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007966/1.117, allocations: 0.5755 MB / 1.142 GB, free: 27.7 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.117, allocations: 3.312 kB / 1.142 GB, free: 27.7 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/1.117, allocations: 25.42 kB / 1.142 GB, free: 27.7 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/1.117, allocations: 15.98 kB / 1.142 GB, free: 27.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005393/1.117, allocations: 380.3 kB / 1.143 GB, free: 27.45 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/1.12, allocations: 2.207 MB / 1.145 GB, free: 25.9 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000732/1.121, allocations: 466.5 kB / 1.145 GB, free: 25.61 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/1.121, allocations: 168.9 kB / 1.145 GB, free: 25.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.061e-05/1.121, allocations: 4.656 kB / 1.145 GB, free: 25.51 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/1.121, allocations: 250.8 kB / 1.146 GB, free: 25.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/1.121, allocations: 0 / 1.146 GB, free: 25.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0006428/1.122, allocations: 418.2 kB / 1.146 GB, free: 25.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/1.122, allocations: 184.7 kB / 1.146 GB, free: 24.85 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000552/1.123, allocations: 0.5353 MB / 1.147 GB, free: 24.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.603e-05/1.123, allocations: 40.27 kB / 1.147 GB, free: 24.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/1.123, allocations: 360.2 kB / 1.147 GB, free: 24.25 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/1.123, allocations: 159.5 kB / 1.147 GB, free: 24.12 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/1.123, allocations: 10.88 kB / 1.147 GB, free: 24.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.504e-05/1.123, allocations: 331.8 kB / 1.148 GB, free: 23.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/1.123, allocations: 147.8 kB / 1.148 GB, free: 23.72 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/1.124, allocations: 283.5 kB / 1.148 GB, free: 23.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/1.124, allocations: 206.5 kB / 1.148 GB, free: 23.35 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.124, allocations: 4 kB / 1.148 GB, free: 23.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007208/1.125, allocations: 0.5358 MB / 1.149 GB, free: 22.96 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002175/1.125, allocations: 0.9911 MB / 1.15 GB, free: 21.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.125, allocations: 4.75 kB / 1.15 GB, free: 21.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.125, allocations: 8 kB / 1.15 GB, free: 21.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000494/1.125, allocations: 120.2 kB / 1.15 GB, free: 21.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/1.125, allocations: 9.359 kB / 1.15 GB, free: 21.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005022/1.126, allocations: 82.72 kB / 1.15 GB, free: 21.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/1.126, allocations: 21.11 kB / 1.15 GB, free: 21.72 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.725e-06/1.126, allocations: 4 kB / 1.15 GB, free: 21.71 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006154/1.127, allocations: 465.6 kB / 1.15 GB, free: 21.42 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/1.127, allocations: 8.594 kB / 1.15 GB, free: 21.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/1.127, allocations: 4 kB / 1.15 GB, free: 21.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/1.127, allocations: 118.5 kB / 1.151 GB, free: 21.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/1.127, allocations: 5.812 kB / 1.151 GB, free: 21.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/1.127, allocations: 87.41 kB / 1.151 GB, free: 21.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/1.128, allocations: 16.45 kB / 1.151 GB, free: 21.23 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0001283/1.128, allocations: 137.5 kB / 1.151 GB, free: 21.1 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/1.128, allocations: 67.77 kB / 1.151 GB, free: 21.04 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/1.128, allocations: 79.92 kB / 1.151 GB, free: 21 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.128, allocations: 4.562 kB / 1.151 GB, free: 21 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/1.128, allocations: 12.83 kB / 1.151 GB, free: 20.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.128, allocations: 3.234 kB / 1.151 GB, free: 20.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/1.129, allocations: 0.6465 MB / 1.152 GB, free: 20.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/1.129, allocations: 4 kB / 1.152 GB, free: 20.6 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/1.129, allocations: 94.95 kB / 1.152 GB, free: 20.53 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/1.129, allocations: 0 / 1.152 GB, free: 20.53 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/1.129, allocations: 16.81 kB / 1.152 GB, free: 20.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/1.129, allocations: 8 kB / 1.152 GB, free: 20.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.129, allocations: 0 / 1.152 GB, free: 20.51 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008591/1.13, allocations: 0.6581 MB / 1.152 GB, free: 20.07 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/1.13, allocations: 205 kB / 1.153 GB, free: 19.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/1.13, allocations: 12 kB / 1.153 GB, free: 19.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/1.131, allocations: 57.83 kB / 1.153 GB, free: 19.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/1.131, allocations: 35.89 kB / 1.153 GB, free: 19.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/1.131, allocations: 18.67 kB / 1.153 GB, free: 19.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004158/1.131, allocations: 429.9 kB / 1.153 GB, free: 19.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.131, allocations: 0 / 1.153 GB, free: 19.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005448/1.132, allocations: 241.3 kB / 1.153 GB, free: 19.33 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.000154/1.132, allocations: 123.8 kB / 1.153 GB, free: 19.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008821/1.133, allocations: 0.7387 MB / 1.154 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.133, allocations: 320 / 1.154 GB, free: 18.67 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/1.133, allocations: 196.4 kB / 1.154 GB, free: 18.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007964/1.134, allocations: 168.5 kB / 1.155 GB, free: 18.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/1.136, allocations: 0.8875 MB / 1.155 GB, free: 17.74 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/1.136, allocations: 0.9359 MB / 1.156 GB, free: 16.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005797/1.136, allocations: 139.1 kB / 1.156 GB, free: 16.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/1.137, allocations: 36.8 kB / 1.156 GB, free: 16.74 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/1.137, allocations: 4 kB / 1.156 GB, free: 16.73 MB / 0.7448 GB Notification: Performance of Templates: time 0.01452/1.151, allocations: 9.036 MB / 1.165 GB, free: 11.59 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)