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.001194/0.001195, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 186.6 kB / 16.62 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.449/1.449, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.825/1.825, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001484/0.001484, allocations: 72.47 kB / 0.6722 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2695, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00541/0.2749, allocations: 3.141 MB / 0.7872 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002201/0.2772, allocations: 1.002 MB / 0.7882 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/0.2777, allocations: 15.94 kB / 0.7882 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.2781, allocations: 75.25 kB / 0.7882 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.2785, allocations: 95.09 kB / 0.7883 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.2792, allocations: 242.8 kB / 0.7886 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007113/0.2799, allocations: 0.5543 MB / 0.7891 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004855/0.2804, allocations: 247.5 kB / 0.7893 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003401/0.2807, allocations: 211.1 kB / 0.7895 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.281, allocations: 202.9 kB / 0.7897 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.196e-05/0.2811, allocations: 52 kB / 0.7898 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.071e-05/0.2812, allocations: 52 kB / 0.7898 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.793e-05/0.2813, allocations: 115.6 kB / 0.7899 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.2816, allocations: 242.7 kB / 0.7902 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006158/0.2822, allocations: 0.5682 MB / 0.7907 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.2822, allocations: 0 / 0.7907 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2822, allocations: 0 / 0.7907 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.96e-05/0.2823, allocations: 3.938 kB / 0.7907 GB, free: 5.922 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.001481/0.2837, allocations: 0.766 MB / 0.7915 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2838, allocations: 12.03 kB / 0.7915 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.2839, allocations: 56.27 kB / 0.7915 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/0.2846, allocations: 412.7 kB / 0.7919 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.2847, allocations: 33.38 kB / 0.792 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/0.2848, allocations: 44.28 kB / 0.792 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.2855, allocations: 397.9 kB / 0.7924 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2855, allocations: 0 / 0.7924 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.2855, allocations: 19.98 kB / 0.7924 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2855, allocations: 12 kB / 0.7924 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.2861, allocations: 263.8 kB / 0.7927 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001875/0.288, allocations: 1.301 MB / 0.7939 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.2887, allocations: 317.7 kB / 0.7942 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002707/0.289, allocations: 141.7 kB / 0.7944 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.534e-05/0.2891, allocations: 7.938 kB / 0.7944 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003326/0.2894, allocations: 178.1 kB / 0.7946 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.2894, allocations: 0 / 0.7946 GB, free: 1.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.0008231/0.2902, allocations: 375 kB / 0.7949 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.2903, allocations: 85.11 kB / 0.795 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.2907, allocations: 353.6 kB / 0.7953 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/0.2908, allocations: 33.7 kB / 0.7954 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.291, allocations: 240.3 kB / 0.7956 GB, free: 0.6875 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.12e-05/0.2911, allocations: 106.5 kB / 0.7957 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.2912, allocations: 70.08 kB / 0.7958 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.2913, allocations: 350.8 kB / 0.7961 GB, free: 156 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002364/0.2916, allocations: 100.7 kB / 0.7962 GB, free: 56 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.2919, allocations: 172.5 kB / 0.7964 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004585/0.2923, allocations: 259.8 kB / 0.7966 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2923, allocations: 0 / 0.7966 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006547/0.293, allocations: 358.5 kB / 0.797 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.293, allocations: 8 kB / 0.797 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.293, allocations: 0 / 0.797 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.2931, allocations: 4 kB / 0.797 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.2933, allocations: 59.91 kB / 0.797 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2934, allocations: 4 kB / 0.797 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.2936, allocations: 39.73 kB / 0.7971 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.2936, allocations: 8 kB / 0.7971 GB, free: 15.11 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.0002056/0.2938, allocations: 189.6 kB / 0.7972 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.2939, allocations: 39.53 kB / 0.7973 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.294, allocations: 44.23 kB / 0.7973 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.294, allocations: 4 kB / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.294, allocations: 3.938 kB / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.294, allocations: 0 / 0.7973 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.2952, allocations: 0.8195 MB / 0.7981 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2952, allocations: 4 kB / 0.7981 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.2954, allocations: 43.97 kB / 0.7982 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.2954, allocations: 4 kB / 0.7982 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.24e-05/0.2955, allocations: 4 kB / 0.7982 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.2955, allocations: 4 kB / 0.7982 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2955, allocations: 3.938 kB / 0.7982 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008252/0.2963, allocations: 0.5083 MB / 0.7987 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.2965, allocations: 136.6 kB / 0.7988 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.2965, allocations: 15.98 kB / 0.7988 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.2967, allocations: 15.98 kB / 0.7989 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.2968, allocations: 23.97 kB / 0.7989 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2968, allocations: 8 kB / 0.7989 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002394/0.2971, allocations: 243.2 kB / 0.7991 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2971, allocations: 4.062 kB / 0.7991 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003492/0.2974, allocations: 91.62 kB / 0.7992 GB, free: 12.82 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.000133/0.2976, allocations: 107.2 kB / 0.7993 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005926/0.2982, allocations: 268 kB / 0.7996 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2982, allocations: 0 / 0.7996 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/0.2985, allocations: 140.8 kB / 0.7997 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005115/0.299, allocations: 80.05 kB / 0.7998 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.3005, allocations: 0.8061 MB / 0.8006 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.3009, allocations: 0.8113 MB / 0.8014 GB, free: 10.56 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001761/0.3011, allocations: 51.23 kB / 0.8014 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.75e-05/0.3012, allocations: 31.42 kB / 0.8014 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.3012, allocations: 0 / 0.8014 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.00851/0.3097, allocations: 3.644 MB / 0.805 GB, free: 6.863 MB / 0.6231 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)