Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.00123/0.001229, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.668/1.668, allocations: 205.2 MB / 0.626 GB, free: 7.129 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.0008883/0.0008883, allocations: 79.45 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.333e-05/1.345e-05, allocations: 0 / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7189/0.7189, allocations: 116.3 MB / 0.9732 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2144/0.9334, allocations: 145 MB / 1.115 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.9337, allocations: 83.95 kB / 1.115 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01868/0.9525, allocations: 6.857 MB / 1.122 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9525, allocations: 0 / 1.122 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.436e-05/0.9525, allocations: 8 kB / 1.122 GB, free: 14.29 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001342/0.9539, allocations: 0.5881 MB / 1.122 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.954, allocations: 8.031 kB / 1.122 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002324/0.9542, allocations: 48.56 kB / 1.122 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.9551, allocations: 384.2 kB / 1.123 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.368e-05/0.9551, allocations: 15.98 kB / 1.123 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-05/0.9552, allocations: 16 kB / 1.123 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005057/0.9557, allocations: 188.9 kB / 1.123 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.9563, allocations: 298.1 kB / 1.123 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.9563, allocations: 3.984 kB / 1.123 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.654e-05/0.9564, allocations: 0 / 1.123 GB, free: 12.65 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.9564, allocations: 8 kB / 1.123 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.9582, allocations: 1.174 MB / 1.124 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.9587, allocations: 229.3 kB / 1.124 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/0.9589, allocations: 97.22 kB / 1.125 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.9589, allocations: 192 / 1.125 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.959, allocations: 40.38 kB / 1.125 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=22): time 1.243e-06/0.959, allocations: 0 / 1.125 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=22): time 0.0004416/0.9594, allocations: 207 kB / 1.125 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.323e-05/0.9595, allocations: 158.2 kB / 1.125 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.9599, allocations: 266.4 kB / 1.125 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.9599, allocations: 33.64 kB / 1.125 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.9601, allocations: 216 kB / 1.125 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.9602, allocations: 74.84 kB / 1.126 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.9602, allocations: 0 / 1.126 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.9604, allocations: 346.8 kB / 1.126 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.9605, allocations: 68 kB / 1.126 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.9607, allocations: 131.7 kB / 1.126 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.9608, allocations: 81.89 kB / 1.126 GB, free: 9.387 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.9608, allocations: 3.938 kB / 1.126 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003892/0.9612, allocations: 233.1 kB / 1.126 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.9612, allocations: 7.406 kB / 1.126 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.9613, allocations: 4 kB / 1.126 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.9613, allocations: 3.984 kB / 1.126 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.9615, allocations: 51.92 kB / 1.126 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.9616, allocations: 4.109 kB / 1.126 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.9618, allocations: 40.05 kB / 1.126 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.9618, allocations: 11.95 kB / 1.126 GB, free: 9.031 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0001082/0.9619, allocations: 112.9 kB / 1.127 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.962, allocations: 35.61 kB / 1.127 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-05/0.9621, allocations: 39.06 kB / 1.127 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.9621, allocations: 4.047 kB / 1.127 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.9621, allocations: 3.984 kB / 1.127 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.9622, allocations: 0 / 1.127 GB, free: 8.832 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.9626, allocations: 365.8 kB / 1.127 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.9626, allocations: 2.438 kB / 1.127 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.9628, allocations: 47.91 kB / 1.127 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.9629, allocations: 0 / 1.127 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.9629, allocations: 0 / 1.127 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.9629, allocations: 11.98 kB / 1.127 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9629, allocations: 0 / 1.127 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.9634, allocations: 399.1 kB / 1.127 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.9636, allocations: 128.6 kB / 1.128 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.9636, allocations: 4 kB / 1.128 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.9639, allocations: 29.06 kB / 1.128 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.397e-05/0.964, allocations: 23.97 kB / 1.128 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.964, allocations: 4 kB / 1.128 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000216/0.9642, allocations: 208.6 kB / 1.128 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9642, allocations: 0 / 1.128 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003368/0.9645, allocations: 71.69 kB / 1.128 GB, free: 7.496 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001463/0.9647, allocations: 103.2 kB / 1.128 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003109/0.965, allocations: 172.1 kB / 1.128 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.965, allocations: 4 kB / 1.128 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.9652, allocations: 91.92 kB / 1.128 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004743/0.9656, allocations: 67.55 kB / 1.128 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.9668, allocations: 0.5082 MB / 1.129 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.9671, allocations: 0.7997 MB / 1.13 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001762/0.9673, allocations: 43.02 kB / 1.13 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.9674, allocations: 31.42 kB / 1.13 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of SimCode: time 4.01e-07/0.9674, allocations: 0 / 1.13 GB, free: 5.645 MB / 0.7292 GB Notification: Performance of Templates: time 0.007247/0.9747, allocations: 2.98 MB / 1.133 GB, free: 2.75 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)