Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.57/4.57, allocations: 0.5623 GB / 0.5775 GB, free: 66.97 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0027/0.002699, allocations: 362.5 kB / 0.6446 GB, free: 21.7 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.209/4.209, allocations: 410.7 MB / 1.113 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001966/0.001965, allocations: 183.2 kB / 1.226 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0004841/0.0004844, allocations: 13.75 kB / 1.349 GB, free: 320.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.1991, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2043/0.4035, allocations: 145.6 MB / 1.604 GB, free: 74.94 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.4038, allocations: 83.95 kB / 1.604 GB, free: 74.86 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 0.02793/0.4318, allocations: 7.558 MB / 1.611 GB, free: 67.34 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4318, allocations: 0.625 kB / 1.611 GB, free: 67.34 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.148e-05/0.4319, allocations: 12 kB / 1.611 GB, free: 67.33 MB / 0.8073 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.001356/0.4332, allocations: 0.6966 MB / 1.612 GB, free: 66.59 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4333, allocations: 12.75 kB / 1.612 GB, free: 66.58 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.4334, allocations: 56.41 kB / 1.612 GB, free: 66.52 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006895/0.4341, allocations: 399.5 kB / 1.612 GB, free: 66.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.122e-05/0.4342, allocations: 34.98 kB / 1.612 GB, free: 66.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.183e-05/0.4343, allocations: 36 kB / 1.612 GB, free: 66.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000977/0.4352, allocations: 422 kB / 1.613 GB, free: 65.6 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.4353, allocations: 0 / 1.613 GB, free: 65.6 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.764e-05/0.4354, allocations: 19.98 kB / 1.613 GB, free: 65.58 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.4354, allocations: 12 kB / 1.613 GB, free: 65.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008776/0.4363, allocations: 298.8 kB / 1.613 GB, free: 65.28 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.4387, allocations: 1.378 MB / 1.614 GB, free: 63.84 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.4398, allocations: 360.1 kB / 1.615 GB, free: 63.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004006/0.4402, allocations: 147.6 kB / 1.615 GB, free: 63.34 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.634e-05/0.4403, allocations: 4 kB / 1.615 GB, free: 63.33 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005337/0.4408, allocations: 191.4 kB / 1.615 GB, free: 63.13 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=33): time 3.216e-06/0.4408, allocations: 0.6875 kB / 1.615 GB, free: 63.13 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.00136/0.4422, allocations: 434.3 kB / 1.615 GB, free: 62.71 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.372e-05/0.4423, allocations: 140.5 kB / 1.615 GB, free: 62.54 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.4428, allocations: 362.4 kB / 1.616 GB, free: 62.18 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.326e-05/0.4429, allocations: 32.8 kB / 1.616 GB, free: 62.14 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.4431, allocations: 240.6 kB / 1.616 GB, free: 61.91 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.838e-05/0.4432, allocations: 106.5 kB / 1.616 GB, free: 61.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.4432, allocations: 4 kB / 1.616 GB, free: 61.8 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.4433, allocations: 350.8 kB / 1.617 GB, free: 61.45 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.4437, allocations: 115.3 kB / 1.617 GB, free: 61.34 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/0.4442, allocations: 191.3 kB / 1.617 GB, free: 61.13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.4446, allocations: 126 kB / 1.617 GB, free: 61.01 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4446, allocations: 0 / 1.617 GB, free: 61.01 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009933/0.4456, allocations: 373.3 kB / 1.617 GB, free: 60.64 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.4456, allocations: 4 kB / 1.617 GB, free: 60.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4457, allocations: 0 / 1.617 GB, free: 60.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.4457, allocations: 8.031 kB / 1.617 GB, free: 60.63 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000514/0.4462, allocations: 71.84 kB / 1.617 GB, free: 60.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.4462, allocations: 7.938 kB / 1.617 GB, free: 60.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.4467, allocations: 45.78 kB / 1.617 GB, free: 60.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.4467, allocations: 19.03 kB / 1.617 GB, free: 60.5 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.and3.u1,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 (43): * Single equations (assignments): 43 * 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.0003017/0.4471, allocations: 180.7 kB / 1.618 GB, free: 60.32 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.4471, allocations: 43.53 kB / 1.618 GB, free: 60.27 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.4473, allocations: 40.25 kB / 1.618 GB, free: 60.23 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4473, allocations: 4 kB / 1.618 GB, free: 60.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.4473, allocations: 3.984 kB / 1.618 GB, free: 60.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.4473, allocations: 0.7812 kB / 1.618 GB, free: 60.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.4489, allocations: 0.8713 MB / 1.619 GB, free: 59.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.449, allocations: 7.25 kB / 1.619 GB, free: 59.3 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004836/0.4495, allocations: 47.97 kB / 1.619 GB, free: 59.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.575e-06/0.4495, allocations: 0 / 1.619 GB, free: 59.25 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/0.4495, allocations: 11.98 kB / 1.619 GB, free: 59.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.4496, allocations: 3.938 kB / 1.619 GB, free: 59.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4496, allocations: 0 / 1.619 GB, free: 59.24 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.4509, allocations: 0.5656 MB / 1.619 GB, free: 58.66 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.4511, allocations: 141.7 kB / 1.619 GB, free: 58.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/0.4512, allocations: 11.98 kB / 1.619 GB, free: 58.49 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.4516, allocations: 34.33 kB / 1.619 GB, free: 58.46 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.4517, allocations: 27.95 kB / 1.619 GB, free: 58.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/0.4518, allocations: 8 kB / 1.619 GB, free: 58.43 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003452/0.4521, allocations: 252.6 kB / 1.62 GB, free: 58.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4521, allocations: 3.938 kB / 1.62 GB, free: 58.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004752/0.4526, allocations: 83.84 kB / 1.62 GB, free: 58.09 MB / 0.8073 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.and3.u1) * 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.0001538/0.4528, allocations: 112.4 kB / 1.62 GB, free: 57.98 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0008849/0.4537, allocations: 297 kB / 1.62 GB, free: 57.69 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4537, allocations: 0 / 1.62 GB, free: 57.69 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004376/0.4542, allocations: 154.2 kB / 1.62 GB, free: 57.54 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000795/0.455, allocations: 79.7 kB / 1.62 GB, free: 57.47 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.457, allocations: 0.9728 MB / 1.621 GB, free: 56.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.4573, allocations: 0.8268 MB / 1.622 GB, free: 55.64 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002863/0.4576, allocations: 43.22 kB / 1.622 GB, free: 55.6 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.4578, allocations: 35.42 kB / 1.622 GB, free: 55.56 MB / 0.8073 GB Notification: Performance of SimCode: time 9.62e-07/0.4578, allocations: 0 / 1.622 GB, free: 55.56 MB / 0.8073 GB Notification: Performance of Templates: time 0.01117/0.469, allocations: 3.716 MB / 1.626 GB, free: 51.9 MB / 0.8073 GB