Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.00106/0.00106, 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.57/1.57, allocations: 205.3 MB / 0.626 GB, free: 7.16 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.0008815/0.0008814, allocations: 89.19 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.091e-05, allocations: 0 / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7418/0.7418, allocations: 116.3 MB / 0.9732 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2172/0.9591, allocations: 146 MB / 1.116 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.9594, allocations: 84.58 kB / 1.116 GB, free: 4.133 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01935/0.9788, allocations: 7.472 MB / 1.123 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9788, allocations: 0 / 1.123 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.413e-05/0.9789, allocations: 12 kB / 1.123 GB, free: 12.69 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001226/0.9801, allocations: 0.6406 MB / 1.124 GB, free: 12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.9802, allocations: 12.03 kB / 1.124 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.9804, allocations: 55.34 kB / 1.124 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006897/0.9811, allocations: 404.1 kB / 1.124 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.9811, allocations: 12 kB / 1.124 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-05/0.9812, allocations: 20 kB / 1.124 GB, free: 11.47 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004973/0.9817, allocations: 229.5 kB / 1.125 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/0.9823, allocations: 337.7 kB / 1.125 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/0.9824, allocations: 4 kB / 1.125 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.9824, allocations: 3.984 kB / 1.125 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.9824, allocations: 10.95 kB / 1.125 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.9845, allocations: 1.297 MB / 1.126 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/0.9851, allocations: 299.9 kB / 1.126 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001854/0.9853, allocations: 112.9 kB / 1.127 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.998e-05/0.9853, allocations: 4 kB / 1.127 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.9856, allocations: 161.3 kB / 1.127 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 1.944e-06/0.9856, allocations: 0 / 1.127 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0004999/0.9861, allocations: 259 kB / 1.127 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.103e-05/0.9862, allocations: 132.5 kB / 1.127 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/0.9866, allocations: 286.2 kB / 1.127 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.682e-05/0.9866, allocations: 25.7 kB / 1.127 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.9868, allocations: 225 kB / 1.128 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.721e-05/0.9869, allocations: 106.5 kB / 1.128 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.987, allocations: 4 kB / 1.128 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.9871, allocations: 346.8 kB / 1.128 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.9873, allocations: 84 kB / 1.128 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.9875, allocations: 155.1 kB / 1.128 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.9877, allocations: 93.61 kB / 1.128 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.9877, allocations: 0 / 1.128 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005124/0.9882, allocations: 306.1 kB / 1.129 GB, free: 6.859 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.9882, allocations: 4 kB / 1.129 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9882, allocations: 5.406 kB / 1.129 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.9883, allocations: 0 / 1.129 GB, free: 6.852 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.9886, allocations: 76.23 kB / 1.129 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.9886, allocations: 4 kB / 1.129 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.9888, allocations: 43.61 kB / 1.129 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.9889, allocations: 8 kB / 1.129 GB, free: 6.723 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001206/0.989, allocations: 120.9 kB / 1.129 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.9891, allocations: 39.58 kB / 1.129 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.341e-05/0.9892, allocations: 40.5 kB / 1.129 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.9892, allocations: 4 kB / 1.129 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.9892, allocations: 0 / 1.129 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.9892, allocations: 0 / 1.129 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.9903, allocations: 0.7484 MB / 1.13 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.9903, allocations: 3.953 kB / 1.13 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.9906, allocations: 59.91 kB / 1.13 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/0.9906, allocations: 5.875 kB / 1.13 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.9906, allocations: 0 / 1.13 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.9906, allocations: 0 / 1.13 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9906, allocations: 0 / 1.13 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006757/0.9913, allocations: 490.3 kB / 1.13 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.9915, allocations: 148.6 kB / 1.13 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.9916, allocations: 8.047 kB / 1.13 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.9918, allocations: 23.97 kB / 1.13 GB, free: 4.965 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/0.9919, allocations: 27.95 kB / 1.13 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.9919, allocations: 8 kB / 1.13 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002308/0.9922, allocations: 208.6 kB / 1.131 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9922, allocations: 0 / 1.131 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003683/0.9926, allocations: 83.75 kB / 1.131 GB, free: 4.645 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001732/0.9927, allocations: 111.1 kB / 1.131 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004069/0.9932, allocations: 231.9 kB / 1.131 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.9932, allocations: 0 / 1.131 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.9934, allocations: 115.9 kB / 1.131 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.9938, allocations: 71.73 kB / 1.131 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.9951, allocations: 0.567 MB / 1.132 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005043/0.9956, allocations: 0.8191 MB / 1.133 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002271/0.9959, allocations: 45.58 kB / 1.133 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.908e-05/0.996, allocations: 27.44 kB / 1.133 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.996, allocations: 0 / 1.133 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of Templates: time 0.00813/1.004, allocations: 3.377 MB / 1.136 GB, free: 15.33 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)