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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 103 kB / 16.27 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 189.8 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.723/0.723, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3397, allocations: 77.93 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004011/0.3437, allocations: 3.124 MB / 0.5703 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.3454, allocations: 0.9594 MB / 0.5713 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/0.3457, allocations: 13.44 kB / 0.5713 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.3459, allocations: 70.52 kB / 0.5713 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.3462, allocations: 93.92 kB / 0.5714 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.3467, allocations: 240.8 kB / 0.5717 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000599/0.3474, allocations: 0.554 MB / 0.5722 GB, free: 29.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004514/0.3478, allocations: 257.1 kB / 0.5725 GB, free: 29.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.3481, allocations: 204.6 kB / 0.5726 GB, free: 29.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.3484, allocations: 203.9 kB / 0.5728 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.205e-05/0.3485, allocations: 52.72 kB / 0.5729 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.067e-05/0.3485, allocations: 51.47 kB / 0.5729 GB, free: 28.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.3487, allocations: 115.1 kB / 0.5731 GB, free: 28.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.3489, allocations: 237.5 kB / 0.5733 GB, free: 28.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007099/0.3496, allocations: 0.5675 MB / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3496, allocations: 0 / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3496, allocations: 0 / 0.5738 GB, free: 28.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3496, allocations: 1.094 kB / 0.5738 GB, free: 28.46 MB / 446.1 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.001141/0.3508, allocations: 0.7674 MB / 0.5746 GB, free: 27.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3508, allocations: 9.719 kB / 0.5746 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.432e-05/0.3509, allocations: 77.03 kB / 0.5747 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.773e-05/0.351, allocations: 55.38 kB / 0.5747 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005139/0.3515, allocations: 414.8 kB / 0.5751 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.3516, allocations: 33.22 kB / 0.5751 GB, free: 27.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.957e-05/0.3516, allocations: 38.14 kB / 0.5752 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006175/0.3522, allocations: 400.4 kB / 0.5756 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.3523, allocations: 2.5 kB / 0.5756 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.622e-05/0.3523, allocations: 15.62 kB / 0.5756 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.3523, allocations: 9 kB / 0.5756 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005677/0.3529, allocations: 265.9 kB / 0.5758 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.3546, allocations: 1.311 MB / 0.5771 GB, free: 26.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.3553, allocations: 316 kB / 0.5774 GB, free: 26.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.3555, allocations: 136.8 kB / 0.5776 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.3556, allocations: 5.562 kB / 0.5776 GB, free: 25.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003653/0.3559, allocations: 174.6 kB / 0.5777 GB, free: 25.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.3559, allocations: 1.844 kB / 0.5777 GB, free: 25.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.0007341/0.3567, allocations: 384.1 kB / 0.5781 GB, free: 25.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.3567, allocations: 84.3 kB / 0.5782 GB, free: 25.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.3571, allocations: 348.8 kB / 0.5785 GB, free: 25.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3571, allocations: 34.48 kB / 0.5785 GB, free: 25.42 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3572, allocations: 242.3 kB / 0.5788 GB, free: 25.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.3573, allocations: 95.97 kB / 0.5789 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-05/0.3574, allocations: 73 kB / 0.5789 GB, free: 25.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.487e-05/0.3575, allocations: 354.5 kB / 0.5793 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000208/0.3577, allocations: 99.16 kB / 0.5794 GB, free: 24.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.358, allocations: 177.2 kB / 0.5795 GB, free: 24.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.3584, allocations: 259.7 kB / 0.5798 GB, free: 24.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.3584, allocations: 3.938 kB / 0.5798 GB, free: 24.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005761/0.3589, allocations: 357.5 kB / 0.5801 GB, free: 24.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.359, allocations: 8.172 kB / 0.5801 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.359, allocations: 2.156 kB / 0.5801 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.359, allocations: 4.406 kB / 0.5801 GB, free: 24.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.3593, allocations: 65.69 kB / 0.5802 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.3593, allocations: 3.891 kB / 0.5802 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.3595, allocations: 41.88 kB / 0.5802 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.3595, allocations: 12.64 kB / 0.5803 GB, free: 24.27 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,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 (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.3597, allocations: 178.4 kB / 0.5804 GB, free: 24.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.3597, allocations: 43.95 kB / 0.5805 GB, free: 24.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.855e-05/0.3598, allocations: 41.61 kB / 0.5805 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.3598, allocations: 3.688 kB / 0.5805 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3599, allocations: 1.688 kB / 0.5805 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3599, allocations: 2.875 kB / 0.5805 GB, free: 24.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009948/0.3609, allocations: 0.8103 MB / 0.5813 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3609, allocations: 1.438 kB / 0.5813 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.3611, allocations: 48.33 kB / 0.5814 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3611, allocations: 5.062 kB / 0.5814 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.3612, allocations: 9.641 kB / 0.5814 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.3612, allocations: 1.406 kB / 0.5814 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3612, allocations: 0 / 0.5814 GB, free: 23.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007371/0.3619, allocations: 0.5184 MB / 0.5819 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.348e-05/0.362, allocations: 138.9 kB / 0.582 GB, free: 23.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.3621, allocations: 7.969 kB / 0.582 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3623, allocations: 16.62 kB / 0.582 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.005e-05/0.3623, allocations: 24.83 kB / 0.5821 GB, free: 23.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.3624, allocations: 11.7 kB / 0.5821 GB, free: 23.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.3626, allocations: 248.8 kB / 0.5823 GB, free: 22.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3626, allocations: 1.188 kB / 0.5823 GB, free: 22.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003443/0.3629, allocations: 84.69 kB / 0.5824 GB, free: 22.93 MB / 446.1 MB 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.greaterEqualThreshold.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009177/0.3639, allocations: 1.063 MB / 0.5834 GB, free: 22.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005807/0.3644, allocations: 284.3 kB / 0.5837 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3645, allocations: 0.8438 kB / 0.5837 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.3647, allocations: 131.1 kB / 0.5838 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.3653, allocations: 91.86 kB / 0.5839 GB, free: 21.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.3693, allocations: 3.503 MB / 0.5873 GB, free: 19.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.3695, allocations: 0.8075 MB / 0.5881 GB, free: 18.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.3697, allocations: 49.58 kB / 0.5882 GB, free: 18.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.3699, allocations: 145.5 kB / 0.5883 GB, free: 18.49 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3699, allocations: 1 kB / 0.5883 GB, free: 18.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03569/0.4056, allocations: 7.303 MB / 0.5954 GB, free: 13.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.98, allocations: 10.45 kB / 0.5954 GB, free: 13.58 MB / 446.1 MB (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/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)