Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.695/1.695, allocations: 287.5 MB / 302.6 MB, free: 8.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.001027/0.001027, allocations: 188.5 kB / 371.2 MB, free: 10.82 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.424/1.424, allocations: 205.4 MB / 0.6299 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006803/0.0006804, allocations: 92.08 kB / 0.7432 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005503/0.0005506, allocations: 15 kB / 0.8661 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2508, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.002612/0.2535, allocations: 2.663 MB / 0.9813 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.255, allocations: 0.9362 MB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003249/0.2554, allocations: 15.94 kB / 0.9822 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001982/0.2556, allocations: 47.52 kB / 0.9822 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.2558, allocations: 71.41 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004542/0.2562, allocations: 165.9 kB / 0.9825 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000401/0.2567, allocations: 499.8 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.257, allocations: 231.6 kB / 0.9832 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.2572, allocations: 143.2 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.2573, allocations: 147.1 kB / 0.9834 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.2574, allocations: 12 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.043e-05/0.2575, allocations: 12 kB / 0.9835 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.2575, allocations: 63.62 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/0.2576, allocations: 105.5 kB / 0.9836 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.2578, allocations: 426.8 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2579, allocations: 0 / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2579, allocations: 3.938 kB / 0.984 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.2579, allocations: 0 / 0.984 GB, free: 22.66 MB / 0.6198 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.0009527/0.2588, allocations: 0.6844 MB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2589, allocations: 8.031 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.753e-05/0.259, allocations: 56.28 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004755/0.2595, allocations: 416.5 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.2595, allocations: 29.38 kB / 0.9852 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.2596, allocations: 36.38 kB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.2601, allocations: 401.9 kB / 0.9856 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.2602, allocations: 4 kB / 0.9856 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.2602, allocations: 16 kB / 0.9856 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.2602, allocations: 12 kB / 0.9856 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.2607, allocations: 259.8 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.2622, allocations: 1.332 MB / 0.9872 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.2629, allocations: 303.2 kB / 0.9875 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000233/0.2631, allocations: 159 kB / 0.9876 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.2632, allocations: 4 kB / 0.9876 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.2635, allocations: 173.5 kB / 0.9878 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 2.144e-06/0.2635, allocations: 4 kB / 0.9878 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.0007175/0.2642, allocations: 385.8 kB / 0.9882 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.2643, allocations: 81.11 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.2646, allocations: 349.6 kB / 0.9886 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.2646, allocations: 37.7 kB / 0.9886 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2647, allocations: 228.4 kB / 0.9888 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.2648, allocations: 106.5 kB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.2648, allocations: 4 kB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.093e-05/0.2649, allocations: 354.8 kB / 0.9893 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.2651, allocations: 100.7 kB / 0.9894 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.2653, allocations: 172.3 kB / 0.9895 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/0.2657, allocations: 264.5 kB / 0.9898 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2657, allocations: 3.938 kB / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005088/0.2663, allocations: 354.4 kB / 0.9901 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.2663, allocations: 4 kB / 0.9901 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2663, allocations: 8.188 kB / 0.9901 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.2663, allocations: 4 kB / 0.9902 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.2666, allocations: 67.84 kB / 0.9902 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.2666, allocations: 7.984 kB / 0.9902 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2668, allocations: 35.73 kB / 0.9903 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.2668, allocations: 16 kB / 0.9903 GB, free: 15.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001504/0.267, allocations: 181.5 kB / 0.9904 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.267, allocations: 43.53 kB / 0.9905 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.732e-05/0.2671, allocations: 44.25 kB / 0.9905 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2671, allocations: 4 kB / 0.9905 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.2671, allocations: 3.984 kB / 0.9905 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2671, allocations: 0 / 0.9905 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009248/0.2681, allocations: 0.8153 MB / 0.9913 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2681, allocations: 0 / 0.9913 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.2683, allocations: 43.92 kB / 0.9914 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2683, allocations: 0 / 0.9914 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.2683, allocations: 11.98 kB / 0.9914 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2683, allocations: 0 / 0.9914 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2684, allocations: 0 / 0.9914 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/0.269, allocations: 0.5224 MB / 0.9919 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.2691, allocations: 136.6 kB / 0.992 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.2692, allocations: 8 kB / 0.992 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.2694, allocations: 28.03 kB / 0.9921 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.2694, allocations: 23.95 kB / 0.9921 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.2695, allocations: 15.94 kB / 0.9921 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001795/0.2697, allocations: 239.2 kB / 0.9923 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2697, allocations: 0 / 0.9923 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002936/0.27, allocations: 91.62 kB / 0.9924 GB, free: 13.66 MB / 0.6198 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.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * 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 8.826e-05/0.2701, allocations: 111.2 kB / 0.9925 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004727/0.2705, allocations: 263.7 kB / 0.9928 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2705, allocations: 0 / 0.9928 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.2708, allocations: 131.9 kB / 0.9929 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.2712, allocations: 77.34 kB / 0.993 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.2725, allocations: 0.971 MB / 0.9939 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.2727, allocations: 0.8112 MB / 0.9947 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001765/0.2729, allocations: 47.27 kB / 0.9948 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.273, allocations: 31.42 kB / 0.9948 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.273, allocations: 0 / 0.9948 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of Templates: time 0.006184/0.2792, allocations: 3.248 MB / 0.998 GB, free: 7.953 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)