Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.525/1.525, allocations: 252 MB / 267.6 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 187.7 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 0.5783 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008675/0.0008675, allocations: 91.61 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.0003932, allocations: 10.19 kB / 0.797 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2587, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003215/0.262, allocations: 2.667 MB / 0.9034 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.2638, allocations: 0.9594 MB / 0.9044 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002829/0.2641, allocations: 11.94 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.2643, allocations: 51.56 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.2645, allocations: 67.38 kB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.265, allocations: 173.8 kB / 0.9046 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.2653, allocations: 491.8 kB / 0.9051 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/0.2657, allocations: 183.7 kB / 0.9053 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.2658, allocations: 139.2 kB / 0.9054 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.266, allocations: 147.1 kB / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.266, allocations: 12 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 3.719e-05/0.2661, allocations: 12 kB / 0.9056 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.093e-05/0.2661, allocations: 55.7 kB / 0.9056 GB, free: 58.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.2662, allocations: 109.4 kB / 0.9057 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.2665, allocations: 415.2 kB / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2665, allocations: 0 / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2665, allocations: 0 / 0.9061 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.2665, allocations: 4 kB / 0.9061 GB, free: 58.43 MB / 0.6042 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.0009872/0.2675, allocations: 0.6958 MB / 0.9068 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2676, allocations: 12.03 kB / 0.9068 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.2677, allocations: 51.34 kB / 0.9069 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005021/0.2682, allocations: 395.7 kB / 0.9073 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.822e-05/0.2682, allocations: 29 kB / 0.9073 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.356e-05/0.2683, allocations: 43.91 kB / 0.9073 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/0.2689, allocations: 401.5 kB / 0.9077 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.2689, allocations: 0 / 0.9077 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.477e-05/0.269, allocations: 19.94 kB / 0.9077 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.269, allocations: 8 kB / 0.9077 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.2695, allocations: 271.8 kB / 0.908 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001448/0.2709, allocations: 1.324 MB / 0.9093 GB, free: 55.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006219/0.2716, allocations: 310.8 kB / 0.9096 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.2718, allocations: 144.8 kB / 0.9097 GB, free: 54.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.2719, allocations: 4 kB / 0.9097 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003411/0.2722, allocations: 177.5 kB / 0.9099 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 1.774e-06/0.2722, allocations: 0 / 0.9099 GB, free: 54.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.0007328/0.273, allocations: 377.8 kB / 0.9103 GB, free: 54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.284e-05/0.273, allocations: 93.09 kB / 0.9104 GB, free: 53.89 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.2733, allocations: 345.6 kB / 0.9107 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.2734, allocations: 33.7 kB / 0.9107 GB, free: 53.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.2735, allocations: 240.8 kB / 0.9109 GB, free: 53.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.463e-05/0.2736, allocations: 102.5 kB / 0.911 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/0.2736, allocations: 12 kB / 0.9111 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.2737, allocations: 350.8 kB / 0.9114 GB, free: 52.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.2739, allocations: 104.6 kB / 0.9115 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002303/0.2741, allocations: 172.4 kB / 0.9117 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/0.2744, allocations: 114.3 kB / 0.9118 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2744, allocations: 0 / 0.9118 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000512/0.2749, allocations: 347 kB / 0.9121 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.2749, allocations: 15.98 kB / 0.9121 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2749, allocations: 0 / 0.9121 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.275, allocations: 4 kB / 0.9121 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.2752, allocations: 67.91 kB / 0.9122 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.2752, allocations: 0 / 0.9122 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.2754, allocations: 43.67 kB / 0.9122 GB, free: 51.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.2755, allocations: 12 kB / 0.9122 GB, free: 51.91 MB / 0.6042 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.0001723/0.2756, allocations: 173.7 kB / 0.9124 GB, free: 51.73 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.2757, allocations: 51.45 kB / 0.9124 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.872e-05/0.2758, allocations: 48.19 kB / 0.9125 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2758, allocations: 4 kB / 0.9125 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.2758, allocations: 0 / 0.9125 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2758, allocations: 0 / 0.9125 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009153/0.2767, allocations: 0.8065 MB / 0.9133 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2768, allocations: 0 / 0.9133 GB, free: 50.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.277, allocations: 47.91 kB / 0.9133 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.277, allocations: 4 kB / 0.9133 GB, free: 50.71 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.277, allocations: 8 kB / 0.9133 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.277, allocations: 4 kB / 0.9133 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.277, allocations: 0 / 0.9133 GB, free: 50.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007122/0.2778, allocations: 0.5273 MB / 0.9139 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2779, allocations: 132.6 kB / 0.914 GB, free: 50 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.2779, allocations: 15.98 kB / 0.914 GB, free: 49.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.2781, allocations: 24.05 kB / 0.914 GB, free: 49.96 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/0.2782, allocations: 19.97 kB / 0.914 GB, free: 49.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.2782, allocations: 11.98 kB / 0.9141 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002124/0.2785, allocations: 243.2 kB / 0.9143 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2785, allocations: 0 / 0.9143 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002952/0.2788, allocations: 83.69 kB / 0.9144 GB, free: 49.62 MB / 0.6042 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.000125/0.2789, allocations: 115.2 kB / 0.9145 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004939/0.2794, allocations: 263.9 kB / 0.9147 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2794, allocations: 0 / 0.9147 GB, free: 49.24 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.2796, allocations: 140.2 kB / 0.9149 GB, free: 49.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.2801, allocations: 85.45 kB / 0.9149 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2815, allocations: 0.995 MB / 0.9159 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.2817, allocations: 0.823 MB / 0.9167 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.559e-05/0.2818, allocations: 27.44 kB / 0.9167 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of SimCode: time 8.42e-07/0.2818, allocations: 0 / 0.9167 GB, free: 47.11 MB / 0.6042 GB Notification: Performance of Templates: time 0.00629/0.2881, allocations: 4.783 MB / 0.9214 GB, free: 42.34 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)