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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007932/0.0007932, allocations: 80.48 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008445/0.0008445, allocations: 169.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9122/0.9122, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5718/0.5718, allocations: 114 MB / 373.9 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.5541 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.681e-05, allocations: 2.281 kB / 0.5541 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003817/0.003834, allocations: 2.945 MB / 0.557 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.005045, allocations: 1.005 MB / 0.558 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.005244, allocations: 15.88 kB / 0.558 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.005455, allocations: 75.19 kB / 0.5581 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001424/0.005597, allocations: 111 kB / 0.5582 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.006024, allocations: 254.2 kB / 0.5584 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004138/0.006438, allocations: 0.5621 MB / 0.559 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002888/0.006727, allocations: 171.9 kB / 0.5592 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003282/0.007055, allocations: 319.1 kB / 0.5595 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001667/0.007222, allocations: 147.5 kB / 0.5596 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.773e-05/0.007279, allocations: 56 kB / 0.5597 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.056e-05/0.00735, allocations: 52 kB / 0.5597 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/0.007409, allocations: 115.5 kB / 0.5598 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.405e-05/0.007503, allocations: 147.6 kB / 0.56 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.00795, allocations: 0.6035 MB / 0.5605 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.007952, allocations: 0 / 0.5605 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.293e-06/0.007953, allocations: 0 / 0.5605 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.007961, allocations: 4 kB / 0.5605 GB, free: 12.22 MB / 0.5261 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.0008515/0.008812, allocations: 0.702 MB / 0.5612 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.008854, allocations: 8.625 kB / 0.5612 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.479e-05/0.008919, allocations: 74.7 kB / 0.5613 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.009061, allocations: 72.56 kB / 0.5614 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.009535, allocations: 368.9 kB / 0.5617 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.009562, allocations: 29.38 kB / 0.5618 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.00961, allocations: 36.38 kB / 0.5618 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.01008, allocations: 449.5 kB / 0.5622 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.0101, allocations: 192 / 0.5622 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.01013, allocations: 20.12 kB / 0.5622 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.01013, allocations: 8 kB / 0.5623 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.01048, allocations: 267.8 kB / 0.5625 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.01162, allocations: 1.119 MB / 0.5636 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.01206, allocations: 282.6 kB / 0.5639 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.01226, allocations: 135.6 kB / 0.564 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.01229, allocations: 4 kB / 0.564 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002476/0.01254, allocations: 189.4 kB / 0.5642 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 2.064e-06/0.01254, allocations: 0 / 0.5642 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of matching and sorting (n=33): time 0.0005755/0.01312, allocations: 382.8 kB / 0.5645 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.01319, allocations: 85.11 kB / 0.5646 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.01347, allocations: 353.6 kB / 0.565 GB, free: 7.488 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.0135, allocations: 37.69 kB / 0.565 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001449/0.01365, allocations: 241.3 kB / 0.5652 GB, free: 7.207 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.01371, allocations: 103.1 kB / 0.5653 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.824e-05/0.01379, allocations: 78.06 kB / 0.5654 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.01389, allocations: 346.8 kB / 0.5657 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.01403, allocations: 100.7 kB / 0.5658 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.01423, allocations: 198.3 kB / 0.566 GB, free: 6.348 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.01453, allocations: 251.9 kB / 0.5663 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01453, allocations: 0 / 0.5663 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004014/0.01493, allocations: 363.2 kB / 0.5666 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.01495, allocations: 4 kB / 0.5666 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01496, allocations: 3.938 kB / 0.5666 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.01497, allocations: 8.188 kB / 0.5666 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.01512, allocations: 71.89 kB / 0.5667 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.01513, allocations: 0 / 0.5667 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.289e-05/0.01522, allocations: 43.77 kB / 0.5667 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.01524, allocations: 8 kB / 0.5667 GB, free: 5.586 MB / 0.5261 GB 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.0001297/0.01537, allocations: 175 kB / 0.5669 GB, free: 5.406 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.0154, allocations: 43.7 kB / 0.5669 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.903e-05/0.01546, allocations: 40.25 kB / 0.567 GB, free: 5.324 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.81e-06/0.01546, allocations: 8 kB / 0.567 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.01547, allocations: 0 / 0.567 GB, free: 5.316 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.01547, allocations: 3.984 kB / 0.567 GB, free: 5.312 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006897/0.01616, allocations: 0.7399 MB / 0.5677 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.01617, allocations: 0 / 0.5677 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.01629, allocations: 47.92 kB / 0.5678 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.0163, allocations: 3.984 kB / 0.5678 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.01631, allocations: 8 kB / 0.5678 GB, free: 4.465 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01632, allocations: 8 kB / 0.5678 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01632, allocations: 0 / 0.5678 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.01685, allocations: 0.5287 MB / 0.5683 GB, free: 3.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.523e-05/0.01693, allocations: 55.7 kB / 0.5684 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.224e-05/0.01696, allocations: 12 kB / 0.5684 GB, free: 3.844 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.01705, allocations: 15.98 kB / 0.5684 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.01712, allocations: 27.94 kB / 0.5684 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.01714, allocations: 12 kB / 0.5684 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001755/0.01731, allocations: 247.2 kB / 0.5687 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.01731, allocations: 0 / 0.5687 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002353/0.01755, allocations: 95.73 kB / 0.5687 GB, free: 3.457 MB / 0.5261 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.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.0007599/0.01831, allocations: 1.053 MB / 0.5698 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.01865, allocations: 255.8 kB / 0.57 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01865, allocations: 0 / 0.57 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.01879, allocations: 132.3 kB / 0.5701 GB, free: 2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.01912, allocations: 82.64 kB / 0.5702 GB, free: 1.926 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.02215, allocations: 3.436 MB / 0.5736 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.02227, allocations: 215.8 kB / 0.5738 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001026/0.02238, allocations: 51.2 kB / 0.5738 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.02252, allocations: 144.4 kB / 0.574 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of SimCode: time 7.42e-07/0.02253, allocations: 0 / 0.574 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.04554, allocations: 8.431 MB / 0.5822 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.038/7.084, allocations: 12.05 kB / 0.5822 GB, free: 5.746 MB / 0.5417 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.746439868584275] Failed to read output from testmodel.py, exit status != 0: 7.169617219828069 7.178624081 7.169004106 Calling exit ...