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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009018/0.0009018, allocations: 89.89 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007921/0.007921, allocations: 171.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.79/1.79, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005865/0.0005866, allocations: 14.44 kB / 0.6743 GB, free: 25.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2424, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003574/0.246, allocations: 2.779 MB / 0.7906 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.248, allocations: 0.9788 MB / 0.7915 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003909/0.2484, allocations: 11.94 kB / 0.7915 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.2487, allocations: 43.58 kB / 0.7916 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000268/0.2489, allocations: 75.41 kB / 0.7917 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.2495, allocations: 218.6 kB / 0.7919 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005955/0.2502, allocations: 0.5113 MB / 0.7924 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004425/0.2506, allocations: 231.6 kB / 0.7926 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.2509, allocations: 155 kB / 0.7927 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/0.2511, allocations: 151 kB / 0.7929 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.2512, allocations: 16 kB / 0.7929 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.247e-05/0.2512, allocations: 12 kB / 0.7929 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.2513, allocations: 67.58 kB / 0.793 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.2515, allocations: 208.5 kB / 0.7932 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.2519, allocations: 0.5058 MB / 0.7937 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.252, allocations: 0 / 0.7937 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.046e-06/0.252, allocations: 0 / 0.7937 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.252, allocations: 3.938 kB / 0.7937 GB, free: 5.613 MB / 0.6075 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.001266/0.2533, allocations: 0.6805 MB / 0.7943 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.2533, allocations: 12.03 kB / 0.7943 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001695/0.2535, allocations: 60.22 kB / 0.7944 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007256/0.2542, allocations: 412.6 kB / 0.7948 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.854e-05/0.2543, allocations: 29.38 kB / 0.7948 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.889e-05/0.2544, allocations: 36.38 kB / 0.7949 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007954/0.2552, allocations: 405.9 kB / 0.7952 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.2552, allocations: 0 / 0.7952 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.581e-05/0.2553, allocations: 16 kB / 0.7953 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.2553, allocations: 8 kB / 0.7953 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.2559, allocations: 267.8 kB / 0.7955 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.258, allocations: 1.332 MB / 0.7968 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006984/0.2587, allocations: 324.7 kB / 0.7971 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.2589, allocations: 147.4 kB / 0.7973 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.259, allocations: 0 / 0.7973 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003615/0.2593, allocations: 181.5 kB / 0.7974 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.2593, allocations: 0 / 0.7974 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0008482/0.2602, allocations: 387 kB / 0.7978 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.239e-05/0.2603, allocations: 81.11 kB / 0.7979 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.2607, allocations: 353.6 kB / 0.7982 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.2608, allocations: 29.7 kB / 0.7983 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.261, allocations: 237 kB / 0.7985 GB, free: 440 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.509e-05/0.2611, allocations: 110.5 kB / 0.7986 GB, free: 328 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.399e-05/0.2612, allocations: 41.7 kB / 0.7986 GB, free: 280 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2614, allocations: 350.8 kB / 0.799 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.2617, allocations: 104.7 kB / 0.7991 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.262, allocations: 176.3 kB / 0.7992 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.2624, allocations: 259.8 kB / 0.7995 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2625, allocations: 0 / 0.7995 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000655/0.2631, allocations: 366.3 kB / 0.7998 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.2632, allocations: 8 kB / 0.7998 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.2632, allocations: 3.938 kB / 0.7998 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.2632, allocations: 4 kB / 0.7998 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.2635, allocations: 67.91 kB / 0.7999 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2635, allocations: 4 kB / 0.7999 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.2637, allocations: 39.86 kB / 0.7999 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.2637, allocations: 12 kB / 0.8 GB, free: 14.84 MB / 0.6231 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 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001953/0.2639, allocations: 182.3 kB / 0.8001 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.264, allocations: 39.53 kB / 0.8002 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.003e-05/0.2641, allocations: 44.19 kB / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2641, allocations: 4 kB / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.2641, allocations: 0 / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2641, allocations: 4 kB / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.2653, allocations: 0.8153 MB / 0.801 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2654, allocations: 0 / 0.801 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.2656, allocations: 51.91 kB / 0.8011 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.2656, allocations: 0 / 0.8011 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.2656, allocations: 8 kB / 0.8011 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2656, allocations: 4 kB / 0.8011 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2657, allocations: 0 / 0.8011 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008344/0.2665, allocations: 0.515 MB / 0.8016 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.2666, allocations: 140.6 kB / 0.8017 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.2667, allocations: 12.06 kB / 0.8017 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001879/0.2669, allocations: 19.98 kB / 0.8017 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.267, allocations: 23.97 kB / 0.8018 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.267, allocations: 7.984 kB / 0.8018 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002385/0.2672, allocations: 243.2 kB / 0.802 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2673, allocations: 0 / 0.802 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000347/0.2676, allocations: 95.61 kB / 0.8021 GB, free: 12.55 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000125/0.2677, allocations: 117.6 kB / 0.8022 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.2683, allocations: 268 kB / 0.8025 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2683, allocations: 0 / 0.8025 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.2685, allocations: 140.8 kB / 0.8026 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000523/0.2691, allocations: 77.45 kB / 0.8027 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.2704, allocations: 1.01 MB / 0.8037 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.2708, allocations: 0.8229 MB / 0.8045 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.271, allocations: 43.27 kB / 0.8045 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.2711, allocations: 31.44 kB / 0.8045 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.2711, allocations: 0 / 0.8045 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of Templates: time 0.007233/0.2783, allocations: 3.363 MB / 0.8078 GB, free: 6.66 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: