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: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 249.5 MB / 257 MB, free: 7.004 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.0009458/0.0009458, allocations: 180.1 kB / 316.3 MB, free: 3.312 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.358/1.358, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0007344/0.0007346, allocations: 86.48 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.763e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1682, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6692/0.8374, allocations: 139.7 MB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.8377, allocations: 77.78 kB / 1.022 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01792/0.8556, allocations: 7.505 MB / 1.029 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8557, allocations: 0 / 1.029 GB, free: 7.875 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.609e-05/0.8557, allocations: 8 kB / 1.029 GB, free: 7.867 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.0008716/0.8566, allocations: 0.6529 MB / 1.03 GB, free: 7.203 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.8566, allocations: 12.03 kB / 1.03 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.61e-05/0.8567, allocations: 55.28 kB / 1.03 GB, free: 7.137 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.8572, allocations: 398.3 kB / 1.03 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.8573, allocations: 19.55 kB / 1.03 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/0.8573, allocations: 23.94 kB / 1.03 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004142/0.8578, allocations: 224 kB / 1.03 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.8583, allocations: 345 kB / 1.031 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.8583, allocations: 0 / 1.031 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.8583, allocations: 4 kB / 1.031 GB, free: 6.312 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.8583, allocations: 8 kB / 1.031 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001631/0.86, allocations: 1.296 MB / 1.032 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004833/0.8605, allocations: 296.3 kB / 1.032 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.8606, allocations: 111.9 kB / 1.032 GB, free: 4.938 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.8607, allocations: 8 kB / 1.032 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002557/0.861, allocations: 166.9 kB / 1.033 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.861, allocations: 0 / 1.033 GB, free: 4.793 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.0004176/0.8614, allocations: 260.6 kB / 1.033 GB, free: 4.594 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/0.8615, allocations: 135.7 kB / 1.033 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.8618, allocations: 279.2 kB / 1.033 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.8618, allocations: 29.14 kB / 1.033 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.8619, allocations: 227.1 kB / 1.034 GB, free: 4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.862, allocations: 95.69 kB / 1.034 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.862, allocations: 4 kB / 1.034 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8622, allocations: 347.9 kB / 1.034 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.8623, allocations: 83.94 kB / 1.034 GB, free: 3.539 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.8625, allocations: 162.9 kB / 1.034 GB, free: 3.402 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.8626, allocations: 94.36 kB / 1.034 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.8626, allocations: 0 / 1.034 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004044/0.863, allocations: 304 kB / 1.035 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.8631, allocations: 4.125 kB / 1.035 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.8631, allocations: 4 kB / 1.035 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.8631, allocations: 4 kB / 1.035 GB, free: 3.105 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.8634, allocations: 63.91 kB / 1.035 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.8634, allocations: 0 / 1.035 GB, free: 3.043 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.8636, allocations: 47.75 kB / 1.035 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.8636, allocations: 11.81 kB / 1.035 GB, free: 2.988 MB / 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.0001043/0.8637, allocations: 112.9 kB / 1.035 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003495/0.8641, allocations: 272.5 kB / 1.035 GB, free: 2.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.372e-05/0.8642, allocations: 35.53 kB / 1.035 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.138e-05/0.8642, allocations: 41.62 kB / 1.035 GB, free: 2.605 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.8643, allocations: 4 kB / 1.035 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.8643, allocations: 0 / 1.035 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.8643, allocations: 0 / 1.035 GB, free: 2.602 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008207/0.8651, allocations: 0.7543 MB / 1.036 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8651, allocations: 3.938 kB / 1.036 GB, free: 1.977 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.8654, allocations: 51.91 kB / 1.036 GB, free: 1.926 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.8654, allocations: 4 kB / 1.036 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.8654, allocations: 3.188 kB / 1.036 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.8654, allocations: 4 kB / 1.036 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8654, allocations: 0 / 1.036 GB, free: 1.918 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.866, allocations: 498.4 kB / 1.036 GB, free: 1.539 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.8661, allocations: 141.4 kB / 1.037 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.8662, allocations: 7.422 kB / 1.037 GB, free: 1.395 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.8664, allocations: 19.98 kB / 1.037 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.8665, allocations: 35.95 kB / 1.037 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.8665, allocations: 8 kB / 1.037 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001748/0.8667, allocations: 211.4 kB / 1.037 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8667, allocations: 0 / 1.037 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003195/0.867, allocations: 75.75 kB / 1.037 GB, free: 1.102 MB / 0.6511 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.0008357/0.8679, allocations: 1.033 MB / 1.038 GB, free: 176 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.8682, allocations: 232.4 kB / 1.038 GB, free: 24 kB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.8682, allocations: 0 / 1.038 GB, free: 24 kB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.8684, allocations: 127.5 kB / 1.038 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.8689, allocations: 68.78 kB / 1.038 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.8702, allocations: 0.6178 MB / 1.039 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.8705, allocations: 0.8308 MB / 1.04 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001645/0.8707, allocations: 39.28 kB / 1.04 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.8709, allocations: 145.6 kB / 1.04 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of SimCode: time 3.01e-07/0.8709, allocations: 0 / 1.04 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.8969, allocations: 6.618 MB / 1.046 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.8971, allocations: 155.6 kB / 1.047 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/2.956, allocations: 0 / 1.047 GB, free: 7.594 MB / 0.6667 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)