Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 285.4 MB / 298 MB, free: 6.023 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.001089/0.001089, allocations: 176.9 kB / 366.4 MB, free: 2.09 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.512/1.512, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.0009291/0.0009293, allocations: 91.64 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.822e-05/3.833e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7533/0.7533, allocations: 115.3 MB / 0.9709 GB, free: 77.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.9492, allocations: 146.1 MB / 1.114 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.9494, allocations: 78.3 kB / 1.114 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.04654/0.996, allocations: 16.93 MB / 1.13 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.074e-06/0.996, allocations: 0 / 1.13 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.268e-05/0.9961, allocations: 20 kB / 1.13 GB, free: 4.77 MB / 0.7292 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.001933/0.9981, allocations: 0.943 MB / 1.131 GB, free: 3.773 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.9981, allocations: 12.03 kB / 1.131 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003161/0.9985, allocations: 98.81 kB / 1.131 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.9996, allocations: 0.5823 MB / 1.132 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.9997, allocations: 100.4 kB / 1.132 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.9998, allocations: 56 kB / 1.132 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009826/1.001, allocations: 0.5773 MB / 1.132 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/1.001, allocations: 4 kB / 1.132 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-05/1.001, allocations: 22.91 kB / 1.132 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/1.001, allocations: 16 kB / 1.133 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/1.002, allocations: 379.8 kB / 1.133 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003131/1.005, allocations: 2.227 MB / 1.135 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009335/1.006, allocations: 449.7 kB / 1.135 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/1.006, allocations: 172.8 kB / 1.136 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/1.006, allocations: 4.719 kB / 1.136 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004581/1.007, allocations: 254 kB / 1.136 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=45): time 2.755e-06/1.007, allocations: 0 / 1.136 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=45): time 0.0008013/1.007, allocations: 412.9 kB / 1.136 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.008, allocations: 191.9 kB / 1.136 GB, free: 14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007055/1.008, allocations: 0.5351 MB / 1.137 GB, free: 13.46 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/1.008, allocations: 33.7 kB / 1.137 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/1.009, allocations: 364.8 kB / 1.137 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/1.009, allocations: 153.8 kB / 1.138 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/1.009, allocations: 12 kB / 1.138 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.009, allocations: 329.9 kB / 1.138 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/1.009, allocations: 153.1 kB / 1.138 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/1.01, allocations: 276.1 kB / 1.138 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/1.01, allocations: 203.3 kB / 1.138 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.01, allocations: 4 kB / 1.138 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008712/1.011, allocations: 0.5397 MB / 1.139 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003774/1.011, allocations: 0.9948 MB / 1.14 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/1.011, allocations: 0 / 1.14 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.011, allocations: 8 kB / 1.14 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005146/1.012, allocations: 120.9 kB / 1.14 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.586e-05/1.012, allocations: 4 kB / 1.14 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/1.012, allocations: 83.55 kB / 1.14 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/1.012, allocations: 19 kB / 1.14 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/1.012, allocations: 4 kB / 1.14 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008191/1.013, allocations: 471.9 kB / 1.141 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/1.013, allocations: 4 kB / 1.141 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/1.013, allocations: 4 kB / 1.141 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/1.014, allocations: 123.7 kB / 1.141 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.014, allocations: 4 kB / 1.141 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/1.014, allocations: 79.78 kB / 1.141 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/1.014, allocations: 16 kB / 1.141 GB, free: 9.344 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.0001878/1.015, allocations: 138.6 kB / 1.141 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/1.015, allocations: 79.05 kB / 1.141 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/1.015, allocations: 79.12 kB / 1.141 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.015, allocations: 8 kB / 1.141 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.015, allocations: 7.938 kB / 1.141 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/1.015, allocations: 3.984 kB / 1.141 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007547/1.016, allocations: 0.6492 MB / 1.142 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.016, allocations: 0 / 1.142 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004867/1.016, allocations: 95.88 kB / 1.142 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/1.016, allocations: 4 kB / 1.142 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.268e-05/1.016, allocations: 8 kB / 1.142 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/1.016, allocations: 6.562 kB / 1.142 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.016, allocations: 0 / 1.142 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/1.017, allocations: 0.6651 MB / 1.143 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002967/1.018, allocations: 200.2 kB / 1.143 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.424e-05/1.018, allocations: 12 kB / 1.143 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/1.018, allocations: 63.94 kB / 1.143 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/1.018, allocations: 27.95 kB / 1.143 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.536e-05/1.018, allocations: 19.98 kB / 1.143 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005181/1.019, allocations: 435.1 kB / 1.143 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.5e-07/1.019, allocations: 0 / 1.143 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006745/1.02, allocations: 239.2 kB / 1.143 GB, free: 6.543 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.0002044/1.02, allocations: 121 kB / 1.144 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001195/1.021, allocations: 0.747 MB / 1.144 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.021, allocations: 0 / 1.144 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003242/1.021, allocations: 199.9 kB / 1.145 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008919/1.022, allocations: 171.7 kB / 1.145 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/1.024, allocations: 0.8908 MB / 1.146 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/1.025, allocations: 0.9352 MB / 1.146 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006677/1.025, allocations: 129 kB / 1.147 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/1.026, allocations: 47.42 kB / 1.147 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of SimCode: time 6.22e-07/1.026, allocations: 0 / 1.147 GB, free: 3.219 MB / 0.7448 GB Notification: Performance of Templates: time 0.01844/1.044, allocations: 9.026 MB / 1.155 GB, free: 10.37 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)