Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.71/2.71, allocations: 287.3 MB / 302.3 MB, free: 8.355 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.001554/0.001553, allocations: 183 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001128/0.001127, allocations: 102.1 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006365/0.0006367, allocations: 16.19 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.215, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.942/1.157, allocations: 145.6 MB / 1.12 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/1.157, allocations: 83.25 kB / 1.121 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03016/1.188, allocations: 7.558 MB / 1.128 GB, free: 30.98 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.896e-06/1.188, allocations: 0 / 1.128 GB, free: 30.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.897e-05/1.188, allocations: 15.62 kB / 1.128 GB, free: 30.97 MB / 0.698 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.001732/1.19, allocations: 0.7088 MB / 1.129 GB, free: 30.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.19, allocations: 14.88 kB / 1.129 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001971/1.19, allocations: 70.67 kB / 1.129 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/1.19, allocations: 61.36 kB / 1.129 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008361/1.191, allocations: 399 kB / 1.129 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/1.191, allocations: 30.94 kB / 1.129 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/1.191, allocations: 37.19 kB / 1.129 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/1.192, allocations: 424.2 kB / 1.13 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/1.192, allocations: 0 / 1.13 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.919e-05/1.192, allocations: 16.44 kB / 1.13 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/1.192, allocations: 7.812 kB / 1.13 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009409/1.193, allocations: 301 kB / 1.13 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002856/1.196, allocations: 1.373 MB / 1.131 GB, free: 29.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.197, allocations: 358.3 kB / 1.132 GB, free: 29.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.757e-05/1.197, allocations: 7.922 kB / 1.132 GB, free: 29.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005805/1.198, allocations: 193.4 kB / 1.132 GB, free: 29.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.316e-06/1.198, allocations: 4 kB / 1.132 GB, free: 29.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.001416/1.199, allocations: 429.9 kB / 1.132 GB, free: 28.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.2, allocations: 139.8 kB / 1.132 GB, free: 28.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005869/1.2, allocations: 321.1 kB / 1.133 GB, free: 28.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.641e-05/1.2, allocations: 37.23 kB / 1.133 GB, free: 28.63 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/1.201, allocations: 226.9 kB / 1.133 GB, free: 28.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/1.201, allocations: 101.4 kB / 1.133 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/1.201, allocations: 11.47 kB / 1.133 GB, free: 28.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001704/1.201, allocations: 353.8 kB / 1.133 GB, free: 28.08 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/1.201, allocations: 121 kB / 1.133 GB, free: 28.06 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/1.202, allocations: 185 kB / 1.134 GB, free: 27.98 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/1.202, allocations: 121.6 kB / 1.134 GB, free: 27.97 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.202, allocations: 0 / 1.134 GB, free: 27.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00104/1.203, allocations: 374.1 kB / 1.134 GB, free: 27.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/1.203, allocations: 3.844 kB / 1.134 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.203, allocations: 0 / 1.134 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/1.203, allocations: 3.969 kB / 1.134 GB, free: 27.87 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/1.204, allocations: 69.62 kB / 1.134 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/1.204, allocations: 3.875 kB / 1.134 GB, free: 27.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004306/1.204, allocations: 49.75 kB / 1.134 GB, free: 27.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/1.204, allocations: 14.94 kB / 1.134 GB, free: 27.83 MB / 0.698 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.0003681/1.205, allocations: 176 kB / 1.134 GB, free: 27.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.687e-05/1.205, allocations: 42.69 kB / 1.134 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/1.205, allocations: 46.98 kB / 1.135 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/1.205, allocations: 3.844 kB / 1.135 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.205, allocations: 3.938 kB / 1.135 GB, free: 27.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/1.205, allocations: 3.844 kB / 1.135 GB, free: 27.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/1.207, allocations: 0.8686 MB / 1.135 GB, free: 27.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.207, allocations: 0 / 1.135 GB, free: 27.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/1.207, allocations: 58.22 kB / 1.135 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/1.207, allocations: 0 / 1.135 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/1.207, allocations: 7.438 kB / 1.135 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/1.207, allocations: 3.812 kB / 1.135 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.207, allocations: 0 / 1.135 GB, free: 27.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/1.21, allocations: 0.5755 MB / 1.136 GB, free: 26.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000466/1.21, allocations: 145.4 kB / 1.136 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/1.21, allocations: 3 kB / 1.136 GB, free: 26.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006777/1.211, allocations: 33.86 kB / 1.136 GB, free: 26.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.211, allocations: 27.42 kB / 1.136 GB, free: 26.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.57e-05/1.211, allocations: 7.844 kB / 1.136 GB, free: 26.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000747/1.212, allocations: 247.5 kB / 1.136 GB, free: 26.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.92e-07/1.212, allocations: 0 / 1.136 GB, free: 26.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001334/1.213, allocations: 95.2 kB / 1.137 GB, free: 26.7 MB / 0.698 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.003342/1.217, allocations: 1.128 MB / 1.138 GB, free: 25.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001433/1.218, allocations: 285 kB / 1.138 GB, free: 25.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/1.218, allocations: 4.312 kB / 1.138 GB, free: 25.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007848/1.219, allocations: 161.8 kB / 1.138 GB, free: 25.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.221, allocations: 66.2 kB / 1.138 GB, free: 25.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009187/1.23, allocations: 2.98 MB / 1.141 GB, free: 24.11 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/1.23, allocations: 0.8266 MB / 1.142 GB, free: 23.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005143/1.231, allocations: 38.12 kB / 1.142 GB, free: 23.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/1.231, allocations: 147.4 kB / 1.142 GB, free: 23.31 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/1.231, allocations: 0 / 1.142 GB, free: 23.31 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04404/1.276, allocations: 7.442 MB / 1.149 GB, free: 19.88 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/1.276, allocations: 196.3 kB / 1.149 GB, free: 19.64 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.562/4.837, allocations: 0 / 1.149 GB, free: 19.64 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)