Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.895/1.895, allocations: 285.6 MB / 293.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 176.9 kB / 361.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.2 MB / 0.62 GB, free: 11.68 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 88.44 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.31e-05/3.293e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056/1.056, allocations: 115.3 MB / 0.9644 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2912/1.347, allocations: 145 MB / 1.106 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004285/1.348, allocations: 76.62 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02925/1.377, allocations: 7.47 MB / 1.113 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/1.377, allocations: 0 / 1.113 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.298e-05/1.377, allocations: 16 kB / 1.113 GB, free: 3.23 MB / 0.7136 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.001878/1.379, allocations: 0.6484 MB / 1.114 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/1.379, allocations: 8.031 kB / 1.114 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002948/1.379, allocations: 60.2 kB / 1.114 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/1.38, allocations: 405.4 kB / 1.115 GB, free: 2.043 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.97e-05/1.38, allocations: 12 kB / 1.115 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.86e-05/1.381, allocations: 24 kB / 1.115 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008143/1.381, allocations: 227.2 kB / 1.115 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009221/1.382, allocations: 345.7 kB / 1.115 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/1.382, allocations: 3.938 kB / 1.115 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.375e-05/1.382, allocations: 0 / 1.115 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/1.382, allocations: 8 kB / 1.115 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/1.386, allocations: 1.295 MB / 1.116 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009938/1.387, allocations: 289.2 kB / 1.117 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003336/1.387, allocations: 122.5 kB / 1.117 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/1.387, allocations: 4.5 kB / 1.117 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005083/1.388, allocations: 157.3 kB / 1.117 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=33): time 4.889e-06/1.388, allocations: 0 / 1.117 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.0008486/1.389, allocations: 258.2 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/1.389, allocations: 140.5 kB / 1.117 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007025/1.39, allocations: 274.3 kB / 1.118 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/1.39, allocations: 29.7 kB / 1.118 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/1.39, allocations: 237 kB / 1.118 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000182/1.39, allocations: 94.56 kB / 1.118 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/1.39, allocations: 0 / 1.118 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0003268/1.391, allocations: 346.8 kB / 1.118 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002707/1.391, allocations: 84 kB / 1.118 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/1.391, allocations: 163.1 kB / 1.119 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/1.392, allocations: 93.55 kB / 1.119 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.392, allocations: 0 / 1.119 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009699/1.393, allocations: 302.2 kB / 1.119 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.938e-05/1.393, allocations: 4.781 kB / 1.119 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/1.393, allocations: 8.125 kB / 1.119 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-05/1.393, allocations: 0 / 1.119 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005917/1.393, allocations: 68.12 kB / 1.119 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.232e-05/1.393, allocations: 4 kB / 1.119 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004365/1.394, allocations: 47.59 kB / 1.119 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.847e-05/1.394, allocations: 18.06 kB / 1.119 GB, free: 13.25 MB / 0.7292 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.0002597/1.394, allocations: 125.1 kB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006854/1.395, allocations: 261.1 kB / 1.119 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/1.395, allocations: 35.53 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/1.395, allocations: 40.5 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/1.395, allocations: 0 / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/1.395, allocations: 4 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.395, allocations: 3.984 kB / 1.119 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/1.397, allocations: 0.7484 MB / 1.12 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.397, allocations: 4 kB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/1.398, allocations: 55.91 kB / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.398, allocations: 0 / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/1.398, allocations: 0 / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.398, allocations: 4 kB / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.398, allocations: 0 / 1.12 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/1.399, allocations: 497.3 kB / 1.121 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/1.399, allocations: 140.5 kB / 1.121 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.349e-05/1.399, allocations: 5.375 kB / 1.121 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/1.4, allocations: 23.98 kB / 1.121 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.4, allocations: 32.02 kB / 1.121 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/1.4, allocations: 4 kB / 1.121 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004153/1.4, allocations: 212.6 kB / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.01e-07/1.4, allocations: 0 / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006965/1.401, allocations: 71.75 kB / 1.121 GB, free: 10.93 MB / 0.7292 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.0016/1.403, allocations: 1.04 MB / 1.122 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007178/1.403, allocations: 232.4 kB / 1.122 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.403, allocations: 0 / 1.122 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003012/1.404, allocations: 123.8 kB / 1.123 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007716/1.405, allocations: 64.45 kB / 1.123 GB, free: 9.457 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/1.407, allocations: 0.6366 MB / 1.123 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/1.408, allocations: 0.8269 MB / 1.124 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003072/1.408, allocations: 36.7 kB / 1.124 GB, free: 7.895 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/1.408, allocations: 155.4 kB / 1.124 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/1.408, allocations: 2.625 kB / 1.124 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04517/1.453, allocations: 6.6 MB / 1.131 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003071/1.454, allocations: 174.2 kB / 1.131 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.002/4.456, allocations: 0 / 1.131 GB, free: 1.09 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)