Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.405/2.405, allocations: 252.6 MB / 265.2 MB, free: 5.766 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 183.8 kB / 324.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.284/2.284, allocations: 205.4 MB / 0.5754 GB, free: 10.49 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 102 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.92e-05/3.931e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.207, allocations: 106.2 MB / 0.8949 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9266/1.134, allocations: 139.2 MB / 1.031 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/1.134, allocations: 77.39 kB / 1.031 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03124/1.165, allocations: 7.583 MB / 1.038 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.513e-06/1.165, allocations: 0 / 1.038 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.802e-05/1.165, allocations: 8 kB / 1.038 GB, free: 5.055 MB / 0.6511 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.001387/1.167, allocations: 0.6396 MB / 1.039 GB, free: 4.398 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/1.167, allocations: 12.02 kB / 1.039 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/1.167, allocations: 63.3 kB / 1.039 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008125/1.168, allocations: 398.8 kB / 1.039 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.64e-05/1.168, allocations: 27.72 kB / 1.039 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.056e-05/1.168, allocations: 37.19 kB / 1.039 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009454/1.169, allocations: 394.6 kB / 1.04 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/1.169, allocations: 0 / 1.04 GB, free: 3.621 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.777e-05/1.169, allocations: 14.91 kB / 1.04 GB, free: 3.617 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/1.169, allocations: 8 kB / 1.04 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007116/1.17, allocations: 261.9 kB / 1.04 GB, free: 3.445 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002876/1.173, allocations: 1.374 MB / 1.041 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008751/1.174, allocations: 313.2 kB / 1.042 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003053/1.174, allocations: 122.7 kB / 1.042 GB, free: 1.984 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.871e-05/1.174, allocations: 8 kB / 1.042 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/1.175, allocations: 167.9 kB / 1.042 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.326e-06/1.175, allocations: 0 / 1.042 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0008057/1.175, allocations: 279 kB / 1.042 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.953e-05/1.176, allocations: 140.1 kB / 1.042 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005411/1.176, allocations: 310.4 kB / 1.043 GB, free: 1.227 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.872e-05/1.176, allocations: 38.64 kB / 1.043 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/1.176, allocations: 235.7 kB / 1.043 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/1.177, allocations: 105.2 kB / 1.043 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/1.177, allocations: 7.812 kB / 1.043 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.177, allocations: 353.1 kB / 1.043 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/1.177, allocations: 89.75 kB / 1.044 GB, free: 0.5352 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/1.177, allocations: 161.7 kB / 1.044 GB, free: 412 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/1.178, allocations: 110.4 kB / 1.044 GB, free: 340 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.178, allocations: 3.938 kB / 1.044 GB, free: 336 kB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008014/1.178, allocations: 319.8 kB / 1.044 GB, free: 92 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.179, allocations: 7.984 kB / 1.044 GB, free: 84 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.179, allocations: 4.125 kB / 1.044 GB, free: 80 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/1.179, allocations: 4 kB / 1.044 GB, free: 76 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/1.179, allocations: 71.53 kB / 1.044 GB, free: 8 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/1.179, allocations: 4 kB / 1.044 GB, free: 4 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/1.18, allocations: 50.55 kB / 1.044 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/1.18, allocations: 19.98 kB / 1.044 GB, free: 15.94 MB / 0.6667 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 () * 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.0001566/1.18, allocations: 130.6 kB / 1.044 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.911e-05/1.18, allocations: 35.53 kB / 1.044 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/1.18, allocations: 44.5 kB / 1.044 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/1.18, allocations: 4 kB / 1.044 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.18, allocations: 3.938 kB / 1.044 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/1.18, allocations: 3.984 kB / 1.044 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001575/1.182, allocations: 0.832 MB / 1.045 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.182, allocations: 0 / 1.045 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/1.182, allocations: 55.03 kB / 1.045 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/1.182, allocations: 4 kB / 1.045 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/1.182, allocations: 3 kB / 1.045 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/1.182, allocations: 0 / 1.045 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/1.182, allocations: 0 / 1.045 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/1.184, allocations: 0.5146 MB / 1.046 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/1.184, allocations: 145.1 kB / 1.046 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-05/1.184, allocations: 7.75 kB / 1.046 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/1.184, allocations: 23.11 kB / 1.046 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.184, allocations: 31.77 kB / 1.046 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.301e-05/1.184, allocations: 15.81 kB / 1.046 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003973/1.185, allocations: 244.2 kB / 1.046 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.61e-07/1.185, allocations: 0 / 1.046 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005116/1.185, allocations: 81.03 kB / 1.046 GB, free: 14.14 MB / 0.6667 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) * 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.0001872/1.186, allocations: 117.6 kB / 1.046 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006783/1.186, allocations: 242.2 kB / 1.047 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.186, allocations: 4.25 kB / 1.047 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/1.187, allocations: 133.7 kB / 1.047 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000709/1.187, allocations: 82.16 kB / 1.047 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/1.189, allocations: 0.5736 MB / 1.047 GB, free: 13.18 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004695/1.19, allocations: 0.8191 MB / 1.048 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003256/1.19, allocations: 51.2 kB / 1.048 GB, free: 12.28 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/1.19, allocations: 27.44 kB / 1.048 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of SimCode: time 8.82e-07/1.19, allocations: 0 / 1.048 GB, free: 12.26 MB / 0.6667 GB Notification: Performance of Templates: time 0.01319/1.203, allocations: 3.735 MB / 1.052 GB, free: 8.566 MB / 0.6667 GB