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.001419/0.001419, allocations: 119.2 kB / 19.7 MB, free: 2.188 MB / 14.72 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.001528/0.001528, allocations: 222 kB / 23.01 MB, free: 5 MB / 14.72 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 1.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.9939/0.9939, allocations: 150 MB / 463.2 MB, free: 10.57 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 62.22 kB / 0.6412 GB, free: 10.53 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2085, allocations: 89.18 MB / 0.7283 GB, free: 1.422 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005685/0.2142, allocations: 3.186 MB / 0.7314 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002524/0.2167, allocations: 1.032 MB / 0.7325 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005068/0.2172, allocations: 15.88 kB / 0.7325 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.2175, allocations: 83.12 kB / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.2179, allocations: 99.11 kB / 0.7326 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007771/0.2187, allocations: 251.5 kB / 0.7329 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008416/0.2196, allocations: 0.5622 MB / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004287/0.22, allocations: 180.1 kB / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000436/0.2204, allocations: 223.1 kB / 0.7338 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003605/0.2208, allocations: 206.9 kB / 0.734 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.2209, allocations: 52 kB / 0.7341 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.221, allocations: 52 kB / 0.7341 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.2211, allocations: 119.5 kB / 0.7342 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002712/0.2214, allocations: 234.7 kB / 0.7344 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008445/0.2222, allocations: 0.5952 MB / 0.735 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2222, allocations: 0 / 0.735 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2223, allocations: 0 / 0.735 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.644e-05/0.2223, allocations: 0 / 0.735 GB, free: 10.52 MB / 0.5606 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.001501/0.2238, allocations: 0.7136 MB / 0.7357 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.2238, allocations: 8.031 kB / 0.7357 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.2239, allocations: 74.72 kB / 0.7358 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.2242, allocations: 68.55 kB / 0.7359 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007887/0.225, allocations: 355.1 kB / 0.7362 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.225, allocations: 33.38 kB / 0.7362 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.2251, allocations: 36.38 kB / 0.7363 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007432/0.2258, allocations: 401.7 kB / 0.7367 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.2258, allocations: 0 / 0.7367 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.2259, allocations: 12 kB / 0.7367 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.2259, allocations: 12 kB / 0.7367 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006124/0.2265, allocations: 263.8 kB / 0.7369 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002064/0.2285, allocations: 1.274 MB / 0.7382 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007066/0.2293, allocations: 302.5 kB / 0.7385 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002705/0.2295, allocations: 132.8 kB / 0.7386 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.2296, allocations: 7.938 kB / 0.7386 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003637/0.2299, allocations: 173.6 kB / 0.7388 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.2299, allocations: 0 / 0.7388 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0008611/0.2308, allocations: 386.8 kB / 0.7391 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.2309, allocations: 81.11 kB / 0.7392 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.2313, allocations: 357.6 kB / 0.7396 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.175e-05/0.2314, allocations: 33.7 kB / 0.7396 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.2316, allocations: 245.2 kB / 0.7398 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.2317, allocations: 111.1 kB / 0.7399 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.2318, allocations: 70.06 kB / 0.74 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.232, allocations: 350.8 kB / 0.7403 GB, free: 4.855 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000244/0.2322, allocations: 96.7 kB / 0.7404 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.2325, allocations: 168.6 kB / 0.7406 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004937/0.233, allocations: 259.8 kB / 0.7408 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.233, allocations: 7.938 kB / 0.7408 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007365/0.2337, allocations: 350.8 kB / 0.7412 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.2338, allocations: 8 kB / 0.7412 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.2338, allocations: 0 / 0.7412 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.2338, allocations: 4 kB / 0.7412 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.2341, allocations: 67.91 kB / 0.7412 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.2341, allocations: 11.92 kB / 0.7413 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.2343, allocations: 35.77 kB / 0.7413 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.701e-05/0.2343, allocations: 16 kB / 0.7413 GB, free: 3.801 MB / 0.5606 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.0002263/0.2346, allocations: 177 kB / 0.7415 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.2346, allocations: 43.72 kB / 0.7415 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.926e-05/0.2347, allocations: 44.25 kB / 0.7416 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2347, allocations: 4 kB / 0.7416 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2347, allocations: 0 / 0.7416 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.658e-05/0.2348, allocations: 3.984 kB / 0.7416 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.236, allocations: 0.775 MB / 0.7423 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2361, allocations: 0 / 0.7423 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.2364, allocations: 51.91 kB / 0.7424 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.2364, allocations: 4 kB / 0.7424 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.2364, allocations: 4 kB / 0.7424 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.2364, allocations: 11.92 kB / 0.7424 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2364, allocations: 0 / 0.7424 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/0.2374, allocations: 0.5217 MB / 0.7429 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.2375, allocations: 59.7 kB / 0.743 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.2375, allocations: 8 kB / 0.743 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.2377, allocations: 15.98 kB / 0.743 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/0.2378, allocations: 23.95 kB / 0.743 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.2378, allocations: 11.98 kB / 0.743 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002945/0.2381, allocations: 247.1 kB / 0.7432 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2381, allocations: 4.062 kB / 0.7433 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003875/0.2385, allocations: 95.73 kB / 0.7433 GB, free: 1.637 MB / 0.5606 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.001304/0.2398, allocations: 1.063 MB / 0.7444 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006003/0.2404, allocations: 244.1 kB / 0.7446 GB, free: 316 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2404, allocations: 0 / 0.7446 GB, free: 316 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.2407, allocations: 136.2 kB / 0.7447 GB, free: 180 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005611/0.2413, allocations: 94.17 kB / 0.7448 GB, free: 96 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/0.247, allocations: 3.452 MB / 0.7482 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.2475, allocations: 0.8152 MB / 0.749 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002011/0.2477, allocations: 47.25 kB / 0.749 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.248, allocations: 139.4 kB / 0.7492 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of SimCode: time 1.373e-06/0.248, allocations: 8 kB / 0.7492 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04026/0.2882, allocations: 7.782 MB / 0.7568 GB, free: 3.891 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.88, allocations: 11.81 kB / 0.7568 GB, free: 3.887 MB / 0.5762 GB " [Timeout remaining time 648] (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 --stepSize=34.56 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.127263305941597] Failed to read output from testmodel.py, exit status != 0: 11.988930430961773 12.319967489 12.094673579 Calling exit ...