Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6172/0.6172, allocations: 94.77 MB / 102.2 MB, free: 14.09 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00129/0.001289, allocations: 187 kB / 125.6 MB, free: 7.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.919/1.919, allocations: 170.6 MB / 319.4 MB, free: 1.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001891/0.001891, allocations: 111.4 kB / 381.4 MB, free: 3.129 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.785e-05/1.788e-05, allocations: 0 / 449.1 MB, free: 44.83 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1831, allocations: 61.53 MB / 0.4987 GB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7211/0.9043, allocations: 100.1 MB / 0.5964 GB, free: 12.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.9047, allocations: 77.89 kB / 0.5965 GB, free: 12.44 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02452/0.9292, allocations: 8.676 MB / 0.6049 GB, free: 5.219 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.9293, allocations: 3.938 kB / 0.6049 GB, free: 5.215 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.322e-05/0.9294, allocations: 8 kB / 0.6049 GB, free: 5.207 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001748/0.9311, allocations: 0.64 MB / 0.6056 GB, free: 4.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.464e-05/0.9312, allocations: 12.02 kB / 0.6056 GB, free: 4.539 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003388/0.9316, allocations: 51.44 kB / 0.6056 GB, free: 4.488 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.9326, allocations: 397 kB / 0.606 GB, free: 4.125 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/0.9327, allocations: 16 kB / 0.606 GB, free: 4.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.983e-05/0.9328, allocations: 20 kB / 0.606 GB, free: 4.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000605/0.9334, allocations: 218 kB / 0.6062 GB, free: 3.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007205/0.9342, allocations: 310.2 kB / 0.6065 GB, free: 3.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.9342, allocations: 4 kB / 0.6065 GB, free: 3.727 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.9343, allocations: 3.984 kB / 0.6066 GB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.9343, allocations: 12 kB / 0.6066 GB, free: 3.711 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.9369, allocations: 1.034 MB / 0.6076 GB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/0.9377, allocations: 276.3 kB / 0.6078 GB, free: 2.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002452/0.938, allocations: 119.8 kB / 0.608 GB, free: 2.605 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.649e-05/0.938, allocations: 4.547 kB / 0.608 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004055/0.9384, allocations: 167.7 kB / 0.6081 GB, free: 2.465 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 3.767e-06/0.9385, allocations: 0 / 0.6081 GB, free: 2.465 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.00065/0.9391, allocations: 241.7 kB / 0.6083 GB, free: 2.281 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.9392, allocations: 111.5 kB / 0.6085 GB, free: 2.148 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004261/0.9397, allocations: 264.8 kB / 0.6087 GB, free: 1.941 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.9397, allocations: 29.7 kB / 0.6087 GB, free: 1.906 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.94, allocations: 216.4 kB / 0.6089 GB, free: 1.742 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.9401, allocations: 96.62 kB / 0.609 GB, free: 1.656 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.449e-05/0.9401, allocations: 0 / 0.609 GB, free: 1.656 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.9404, allocations: 345.7 kB / 0.6094 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.9405, allocations: 86.34 kB / 0.6094 GB, free: 1.277 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.9407, allocations: 130.8 kB / 0.6096 GB, free: 1.184 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.9409, allocations: 76.3 kB / 0.6096 GB, free: 1.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9409, allocations: 4.031 kB / 0.6096 GB, free: 1.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005622/0.9415, allocations: 269.7 kB / 0.6099 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.9416, allocations: 4 kB / 0.6099 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9416, allocations: 3.938 kB / 0.6099 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/0.9416, allocations: 7.953 kB / 0.6099 GB, free: 0.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002975/0.9419, allocations: 59.53 kB / 0.61 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.9419, allocations: 4 kB / 0.61 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002505/0.9422, allocations: 31.86 kB / 0.61 GB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.9422, allocations: 11.56 kB / 0.61 GB, free: 0.8203 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,con.and3.u1,$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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001525/0.9424, allocations: 116.9 kB / 0.6101 GB, free: 0.6992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.9425, allocations: 35.53 kB / 0.6102 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.9426, allocations: 37.7 kB / 0.6102 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.9426, allocations: 7.953 kB / 0.6102 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.9426, allocations: 4 kB / 0.6102 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.9426, allocations: 0 / 0.6102 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.9437, allocations: 0.727 MB / 0.6109 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.9438, allocations: 3.938 kB / 0.6109 GB, free: 32 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/0.9441, allocations: 48.02 kB / 0.611 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.9441, allocations: 0 / 0.611 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/0.9441, allocations: 14.95 kB / 0.611 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.9441, allocations: 7.938 kB / 0.611 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.9442, allocations: 0 / 0.611 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007343/0.9449, allocations: 469 kB / 0.6114 GB, free: 15.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.9451, allocations: 138.2 kB / 0.6116 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.916e-05/0.9452, allocations: 2.875 kB / 0.6116 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.9454, allocations: 28 kB / 0.6116 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.9455, allocations: 22.66 kB / 0.6116 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-05/0.9456, allocations: 10.61 kB / 0.6116 GB, free: 15.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002467/0.9458, allocations: 203.6 kB / 0.6118 GB, free: 15.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9458, allocations: 0 / 0.6118 GB, free: 15.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004229/0.9462, allocations: 79.67 kB / 0.6119 GB, free: 15.18 MB / 426.7 MB 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.and3.u1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * 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.0001924/0.9464, allocations: 99.19 kB / 0.612 GB, free: 15.07 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004309/0.9469, allocations: 224.9 kB / 0.6122 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9469, allocations: 0 / 0.6122 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002003/0.9471, allocations: 116.7 kB / 0.6123 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.9476, allocations: 58.31 kB / 0.6124 GB, free: 14.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.949, allocations: 0.5322 MB / 0.6129 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.9496, allocations: 0.819 MB / 0.6137 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.9498, allocations: 39.27 kB / 0.6137 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.9499, allocations: 31.42 kB / 0.6138 GB, free: 13.39 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.9499, allocations: 0 / 0.6138 GB, free: 13.39 MB / 426.7 MB Notification: Performance of Templates: time 0.009807/0.9597, allocations: 3.047 MB / 0.6167 GB, free: 10.37 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)