Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.49/0.49, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 221.3 MB / 348.3 MB, free: 448 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009995/0.0009996, allocations: 109.1 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.279e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4791, allocations: 72.31 MB / 0.5603 GB, free: 40.32 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.6206, allocations: 109.5 MB / 0.6673 GB, free: 10.64 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.621, allocations: 88.94 kB / 0.6674 GB, free: 10.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0196/0.6406, allocations: 7.525 MB / 0.6747 GB, free: 3.023 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6406, allocations: 0 / 0.6747 GB, free: 3.023 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.217e-05/0.6407, allocations: 12 kB / 0.6747 GB, free: 3.012 MB / 490.7 MB 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.001097/0.6418, allocations: 0.6366 MB / 0.6753 GB, free: 2.332 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.6418, allocations: 11.98 kB / 0.6754 GB, free: 2.32 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.642, allocations: 82.45 kB / 0.6754 GB, free: 2.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.6421, allocations: 51.44 kB / 0.6755 GB, free: 2.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006854/0.6428, allocations: 404.2 kB / 0.6759 GB, free: 1.746 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.6429, allocations: 28.78 kB / 0.6759 GB, free: 1.719 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.6429, allocations: 36 kB / 0.6759 GB, free: 1.684 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/0.6436, allocations: 391.2 kB / 0.6763 GB, free: 1.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.6436, allocations: 3.953 kB / 0.6763 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.987e-05/0.6437, allocations: 20 kB / 0.6763 GB, free: 1.246 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.6437, allocations: 12 kB / 0.6763 GB, free: 1.234 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.6441, allocations: 251 kB / 0.6766 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.646, allocations: 1.374 MB / 0.6779 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/0.6466, allocations: 319.8 kB / 0.6782 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.6469, allocations: 124.8 kB / 0.6783 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.6469, allocations: 4 kB / 0.6784 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002886/0.6472, allocations: 173.5 kB / 0.6785 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.6472, allocations: 0 / 0.6785 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.000489/0.6477, allocations: 274.8 kB / 0.6788 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.48e-05/0.6478, allocations: 144.4 kB / 0.6789 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.6481, allocations: 315.5 kB / 0.6792 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.6482, allocations: 37.7 kB / 0.6793 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.6483, allocations: 228.7 kB / 0.6795 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.405e-05/0.6484, allocations: 102.5 kB / 0.6796 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.432e-05/0.6485, allocations: 8 kB / 0.6796 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.6486, allocations: 350.8 kB / 0.6799 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.6488, allocations: 92 kB / 0.68 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.649, allocations: 163.9 kB / 0.6802 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.6492, allocations: 109.5 kB / 0.6803 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.6492, allocations: 1.219 kB / 0.6803 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004781/0.6497, allocations: 326.2 kB / 0.6806 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.6497, allocations: 4 kB / 0.6806 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6497, allocations: 4.047 kB / 0.6806 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.6497, allocations: 8.109 kB / 0.6806 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.65, allocations: 63.91 kB / 0.6806 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.65, allocations: 7.938 kB / 0.6807 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.6503, allocations: 59.61 kB / 0.6807 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.6503, allocations: 8 kB / 0.6807 GB, free: 12.57 MB / 0.4948 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.0001145/0.6504, allocations: 128.9 kB / 0.6808 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.6505, allocations: 39.53 kB / 0.6809 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-05/0.6506, allocations: 44.38 kB / 0.6809 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.6506, allocations: 4 kB / 0.6809 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.33e-05/0.6506, allocations: 0.9375 kB / 0.6809 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.659e-06/0.6506, allocations: 3.984 kB / 0.6809 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.6517, allocations: 0.834 MB / 0.6817 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6517, allocations: 0 / 0.6817 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003106/0.652, allocations: 55.91 kB / 0.6818 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.652, allocations: 4 kB / 0.6818 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.6521, allocations: 7.938 kB / 0.6818 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.6521, allocations: 4 kB / 0.6818 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6521, allocations: 3.953 kB / 0.6818 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007835/0.6529, allocations: 0.499 MB / 0.6823 GB, free: 10.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.653, allocations: 142.2 kB / 0.6824 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/0.6531, allocations: 12 kB / 0.6825 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.6534, allocations: 27.98 kB / 0.6825 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.6535, allocations: 35.84 kB / 0.6825 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.6535, allocations: 4 kB / 0.6825 GB, free: 10.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002983/0.6538, allocations: 254.2 kB / 0.6828 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.5e-07/0.6539, allocations: 0 / 0.6828 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004026/0.6543, allocations: 83.75 kB / 0.6828 GB, free: 10.3 MB / 0.4948 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.001136/0.6554, allocations: 1.058 MB / 0.6839 GB, free: 9.215 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004552/0.6559, allocations: 248.2 kB / 0.6841 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6559, allocations: 0 / 0.6841 GB, free: 8.973 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.6561, allocations: 131.9 kB / 0.6842 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.6565, allocations: 77.92 kB / 0.6843 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.658, allocations: 0.6577 MB / 0.685 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.6584, allocations: 0.823 MB / 0.6858 GB, free: 7.227 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001925/0.6586, allocations: 47.25 kB / 0.6858 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.6588, allocations: 147.4 kB / 0.6859 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of SimCode: time 1.944e-06/0.6588, allocations: 0 / 0.6859 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.6801, allocations: 7.374 MB / 0.6931 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.6803, allocations: 175.9 kB / 0.6933 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.134/2.814, allocations: 0 / 0.6933 GB, free: 15.64 MB / 0.5105 GB (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)