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 2.619/2.619, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001461/0.001461, allocations: 172.3 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.246/2.246, allocations: 205.4 MB / 0.6297 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.001086/0.001086, allocations: 96.83 kB / 0.743 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006908/0.0006913, allocations: 11.61 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2333, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004116/0.2375, allocations: 2.652 MB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.2402, allocations: 0.9518 MB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005442/0.2408, allocations: 11.94 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.241, allocations: 51.5 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.2413, allocations: 67.42 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008156/0.2422, allocations: 162.5 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0007706/0.2429, allocations: 495.7 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004147/0.2434, allocations: 179.7 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003122/0.2437, allocations: 143.2 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002423/0.244, allocations: 143.1 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.244, allocations: 12 kB / 0.9831 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.021e-05/0.2441, allocations: 16 kB / 0.9831 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.2442, allocations: 67.56 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.2443, allocations: 105.5 kB / 0.9833 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004811/0.2448, allocations: 415.2 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.2448, allocations: 0 / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/0.2448, allocations: 0 / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.376e-06/0.2449, allocations: 4 kB / 0.9837 GB, free: 22.9 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.001578/0.2464, allocations: 0.6959 MB / 0.9843 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.2465, allocations: 8.031 kB / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.2467, allocations: 55.34 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000826/0.2475, allocations: 399.5 kB / 0.9848 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.2476, allocations: 32.98 kB / 0.9848 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/0.2477, allocations: 36 kB / 0.9848 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009314/0.2486, allocations: 397.6 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.2487, allocations: 0 / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.205e-05/0.2487, allocations: 16 kB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.2487, allocations: 12 kB / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.2496, allocations: 267.8 kB / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.2521, allocations: 1.324 MB / 0.9868 GB, free: 19.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.2532, allocations: 317.1 kB / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/0.2536, allocations: 137.2 kB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.142e-05/0.2537, allocations: 7.984 kB / 0.9872 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005242/0.2542, allocations: 185.4 kB / 0.9874 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=33): time 3.296e-06/0.2542, allocations: 0 / 0.9874 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.001254/0.2555, allocations: 381.8 kB / 0.9878 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/0.2556, allocations: 85.11 kB / 0.9879 GB, free: 18.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.2561, allocations: 353.5 kB / 0.9882 GB, free: 18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.198e-05/0.2561, allocations: 41.69 kB / 0.9882 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.2563, allocations: 224.5 kB / 0.9885 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.2565, allocations: 102.5 kB / 0.9886 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.2565, allocations: 4 kB / 0.9886 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.2566, allocations: 358.7 kB / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.257, allocations: 100.7 kB / 0.989 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003893/0.2574, allocations: 172.6 kB / 0.9892 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.2578, allocations: 113.7 kB / 0.9893 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.2578, allocations: 0 / 0.9893 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00098/0.2588, allocations: 351.5 kB / 0.9896 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.776e-05/0.2589, allocations: 8.188 kB / 0.9896 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.2589, allocations: 8 kB / 0.9896 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.588e-05/0.2589, allocations: 4 kB / 0.9896 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.2594, allocations: 63.91 kB / 0.9897 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.2595, allocations: 4 kB / 0.9897 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003817/0.2599, allocations: 39.67 kB / 0.9897 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.2599, allocations: 16 kB / 0.9897 GB, free: 16.37 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.0003029/0.2602, allocations: 189.5 kB / 0.9899 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.2603, allocations: 39.53 kB / 0.99 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.2604, allocations: 44.25 kB / 0.99 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2605, allocations: 4 kB / 0.99 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2605, allocations: 0 / 0.99 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.2605, allocations: 3.984 kB / 0.99 GB, free: 16.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.2621, allocations: 0.8114 MB / 0.9908 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2622, allocations: 0 / 0.9908 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.2626, allocations: 43.97 kB / 0.9908 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.2626, allocations: 0 / 0.9908 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.31e-05/0.2627, allocations: 8 kB / 0.9908 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2627, allocations: 0 / 0.9908 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.2627, allocations: 3.984 kB / 0.9909 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.264, allocations: 0.5263 MB / 0.9914 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.2643, allocations: 136.6 kB / 0.9915 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.2643, allocations: 8 kB / 0.9915 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003241/0.2647, allocations: 24.05 kB / 0.9915 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.2648, allocations: 27.95 kB / 0.9916 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.2648, allocations: 12 kB / 0.9916 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003339/0.2652, allocations: 239.2 kB / 0.9918 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2652, allocations: 0 / 0.9918 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004934/0.2657, allocations: 87.69 kB / 0.9919 GB, free: 14.08 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 0.0001522/0.2659, allocations: 107.2 kB / 0.992 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008782/0.2668, allocations: 271.6 kB / 0.9922 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.2668, allocations: 3.938 kB / 0.9922 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.2672, allocations: 140.1 kB / 0.9924 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.2681, allocations: 82.23 kB / 0.9925 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.2703, allocations: 0.9617 MB / 0.9934 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.2707, allocations: 0.8152 MB / 0.9942 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003493/0.271, allocations: 43.27 kB / 0.9942 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.2712, allocations: 27.44 kB / 0.9943 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of SimCode: time 1.332e-06/0.2712, allocations: 0 / 0.9943 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of Templates: time 0.01168/0.2829, allocations: 3.248 MB / 0.9974 GB, free: 8.359 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)