Running: ./testmodel.py --libraries=/home/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 (/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.268/2.268, allocations: 248.5 MB / 261.1 MB, free: 6.055 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 171.1 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.1 MB / 0.571 GB, free: 11.8 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.001165/0.001165, allocations: 97.47 kB / 0.6754 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.158e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1962, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8763/1.073, allocations: 139.2 MB / 1.027 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.073, allocations: 82.02 kB / 1.027 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03229/1.105, allocations: 7.576 MB / 1.034 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.864e-06/1.105, allocations: 0 / 1.034 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.374e-05/1.105, allocations: 8 kB / 1.034 GB, free: 5.348 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.001453/1.107, allocations: 0.6518 MB / 1.035 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/1.107, allocations: 8.031 kB / 1.035 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/1.107, allocations: 71.41 kB / 1.035 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/1.107, allocations: 63.3 kB / 1.035 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/1.108, allocations: 397.6 kB / 1.035 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.61e-05/1.108, allocations: 29.41 kB / 1.035 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.409e-05/1.108, allocations: 37.84 kB / 1.035 GB, free: 4.148 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/1.109, allocations: 399 kB / 1.036 GB, free: 3.848 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/1.109, allocations: 3.938 kB / 1.036 GB, free: 3.844 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.019e-05/1.109, allocations: 12.5 kB / 1.036 GB, free: 3.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/1.109, allocations: 12 kB / 1.036 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007269/1.11, allocations: 251.1 kB / 1.036 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003149/1.113, allocations: 1.38 MB / 1.037 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009228/1.114, allocations: 312 kB / 1.038 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/1.115, allocations: 119.8 kB / 1.038 GB, free: 2.211 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.138e-05/1.115, allocations: 8 kB / 1.038 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000456/1.115, allocations: 170.2 kB / 1.038 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 3.267e-06/1.115, allocations: 0 / 1.038 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0008363/1.116, allocations: 284 kB / 1.038 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.116, allocations: 135.7 kB / 1.038 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/1.117, allocations: 306.7 kB / 1.039 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.949e-05/1.117, allocations: 40.62 kB / 1.039 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/1.117, allocations: 236 kB / 1.039 GB, free: 1.238 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/1.117, allocations: 100 kB / 1.039 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/1.117, allocations: 10.56 kB / 1.039 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001839/1.117, allocations: 355.7 kB / 1.039 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/1.118, allocations: 89.62 kB / 1.039 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/1.118, allocations: 165.9 kB / 1.04 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/1.118, allocations: 107.1 kB / 1.04 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/1.118, allocations: 0 / 1.04 GB, free: 0.5547 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008413/1.119, allocations: 317 kB / 1.04 GB, free: 328 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/1.119, allocations: 12.06 kB / 1.04 GB, free: 316 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.507e-06/1.119, allocations: 4 kB / 1.04 GB, free: 312 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/1.119, allocations: 4 kB / 1.04 GB, free: 308 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/1.12, allocations: 75.08 kB / 1.04 GB, free: 236 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/1.12, allocations: 0 / 1.04 GB, free: 236 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/1.121, allocations: 54.61 kB / 1.04 GB, free: 188 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.604e-05/1.121, allocations: 8 kB / 1.04 GB, free: 180 kB / 0.6511 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.0001671/1.121, allocations: 134.2 kB / 1.04 GB, free: 52 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.043e-05/1.121, allocations: 43.47 kB / 1.04 GB, free: 8 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/1.121, allocations: 41.44 kB / 1.04 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/1.121, allocations: 4 kB / 1.04 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.121, allocations: 0 / 1.04 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/1.121, allocations: 4 kB / 1.04 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/1.123, allocations: 0.8304 MB / 1.041 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.744e-05/1.123, allocations: 0 / 1.041 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005348/1.123, allocations: 55.09 kB / 1.041 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.777e-06/1.123, allocations: 0 / 1.041 GB, free: 15.24 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/1.123, allocations: 11.86 kB / 1.041 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/1.123, allocations: 0 / 1.041 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.123, allocations: 0 / 1.041 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/1.125, allocations: 0.5126 MB / 1.042 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/1.125, allocations: 142.5 kB / 1.042 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.048e-05/1.125, allocations: 13.73 kB / 1.042 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/1.125, allocations: 23.55 kB / 1.042 GB, free: 14.67 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.125, allocations: 31.64 kB / 1.042 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.143e-05/1.126, allocations: 12.06 kB / 1.042 GB, free: 14.63 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000414/1.126, allocations: 243.3 kB / 1.042 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.01e-07/1.126, allocations: 0 / 1.042 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005235/1.127, allocations: 82.47 kB / 1.042 GB, free: 14.38 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.00153/1.128, allocations: 1.072 MB / 1.043 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007167/1.129, allocations: 252.2 kB / 1.044 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.129, allocations: 0 / 1.044 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003282/1.129, allocations: 124.2 kB / 1.044 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/1.13, allocations: 80.5 kB / 1.044 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/1.132, allocations: 0.657 MB / 1.044 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/1.133, allocations: 0.8269 MB / 1.045 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003494/1.133, allocations: 47.25 kB / 1.045 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/1.134, allocations: 146.1 kB / 1.045 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of SimCode: time 1.714e-06/1.134, allocations: 0 / 1.045 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/1.178, allocations: 7.37 MB / 1.053 GB, free: 4.32 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/1.178, allocations: 163.3 kB / 1.053 GB, free: 4.098 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.575/3.754, allocations: 2.25 kB / 1.053 GB, free: 4.098 MB / 0.6667 GB