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.001385/0.001385, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002023/0.002023, allocations: 209 kB / 22.99 MB, free: 4.977 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.988/0.988, allocations: 149.9 MB / 463 MB, free: 10.39 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.002094/0.002094, allocations: 69.67 kB / 0.6411 GB, free: 10.17 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2062, allocations: 89.17 MB / 0.7281 GB, free: 1.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004982/0.2112, allocations: 2.947 MB / 0.731 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.2132, allocations: 0.9935 MB / 0.732 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.2135, allocations: 15.88 kB / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.2138, allocations: 71.25 kB / 0.7321 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.214, allocations: 99.11 kB / 0.7322 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006431/0.2146, allocations: 258.8 kB / 0.7324 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006537/0.2153, allocations: 0.5466 MB / 0.7329 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.2157, allocations: 176.1 kB / 0.7331 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.216, allocations: 223 kB / 0.7333 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.2163, allocations: 182.9 kB / 0.7335 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.636e-05/0.2164, allocations: 52 kB / 0.7335 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.2165, allocations: 59.98 kB / 0.7336 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.2166, allocations: 107.6 kB / 0.7337 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.2167, allocations: 190.9 kB / 0.7339 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000737/0.2175, allocations: 0.5952 MB / 0.7345 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2175, allocations: 0 / 0.7345 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2175, allocations: 0 / 0.7345 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.2175, allocations: 0 / 0.7345 GB, free: 10.55 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.001282/0.2188, allocations: 0.7214 MB / 0.7352 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.2188, allocations: 8.031 kB / 0.7352 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.198e-05/0.2189, allocations: 70.72 kB / 0.7352 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.2191, allocations: 68.55 kB / 0.7353 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007415/0.2199, allocations: 365.7 kB / 0.7357 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.2199, allocations: 41.36 kB / 0.7357 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.811e-05/0.22, allocations: 36.38 kB / 0.7357 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007282/0.2207, allocations: 449.1 kB / 0.7362 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.2207, allocations: 3.938 kB / 0.7362 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.864e-05/0.2208, allocations: 19.98 kB / 0.7362 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2208, allocations: 8 kB / 0.7362 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005685/0.2214, allocations: 263.8 kB / 0.7364 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.2231, allocations: 1.115 MB / 0.7375 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/0.2238, allocations: 302.5 kB / 0.7378 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.2241, allocations: 130.8 kB / 0.7379 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.558e-05/0.2241, allocations: 4 kB / 0.738 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003521/0.2245, allocations: 169.6 kB / 0.7381 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.2245, allocations: 4 kB / 0.7381 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0008441/0.2253, allocations: 386.8 kB / 0.7385 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.17e-05/0.2254, allocations: 81.11 kB / 0.7386 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.2258, allocations: 365.5 kB / 0.7389 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.2258, allocations: 37.7 kB / 0.7389 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/0.226, allocations: 232.8 kB / 0.7392 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.625e-05/0.2261, allocations: 111.6 kB / 0.7393 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.2262, allocations: 74.02 kB / 0.7393 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.2264, allocations: 350.8 kB / 0.7397 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.2266, allocations: 96.7 kB / 0.7398 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003053/0.2269, allocations: 194.3 kB / 0.74 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004849/0.2274, allocations: 259.8 kB / 0.7402 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.2274, allocations: 7.938 kB / 0.7402 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006363/0.2281, allocations: 346.8 kB / 0.7405 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2281, allocations: 8 kB / 0.7406 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/0.2281, allocations: 0 / 0.7406 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/0.2281, allocations: 4 kB / 0.7406 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002826/0.2284, allocations: 67.89 kB / 0.7406 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.2284, allocations: 4.188 kB / 0.7406 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2286, allocations: 35.83 kB / 0.7407 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.2286, allocations: 16 kB / 0.7407 GB, free: 3.891 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.000221/0.2289, allocations: 178.8 kB / 0.7408 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.2289, allocations: 43.72 kB / 0.7409 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.229, allocations: 48.19 kB / 0.7409 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.229, allocations: 4 kB / 0.7409 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.229, allocations: 3.938 kB / 0.7409 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.229, allocations: 3.984 kB / 0.7409 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.2302, allocations: 0.7438 MB / 0.7417 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2302, allocations: 3.984 kB / 0.7417 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.2305, allocations: 43.97 kB / 0.7417 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.2305, allocations: 0 / 0.7417 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.2305, allocations: 8 kB / 0.7417 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2305, allocations: 3.938 kB / 0.7417 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2305, allocations: 0 / 0.7417 GB, free: 2.754 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009341/0.2315, allocations: 0.5256 MB / 0.7422 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.2316, allocations: 63.66 kB / 0.7423 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.2316, allocations: 8 kB / 0.7423 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.2318, allocations: 15.98 kB / 0.7423 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.583e-05/0.2319, allocations: 27.94 kB / 0.7424 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.2319, allocations: 12 kB / 0.7424 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002977/0.2322, allocations: 247.1 kB / 0.7426 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2322, allocations: 0 / 0.7426 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003741/0.2326, allocations: 87.78 kB / 0.7427 GB, free: 1.758 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.001246/0.2338, allocations: 1.068 MB / 0.7437 GB, free: 0.6641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005855/0.2344, allocations: 248.1 kB / 0.744 GB, free: 432 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2344, allocations: 448 / 0.744 GB, free: 432 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002662/0.2347, allocations: 132.3 kB / 0.7441 GB, free: 300 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/0.2353, allocations: 81.61 kB / 0.7442 GB, free: 224 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005072/0.2403, allocations: 3.466 MB / 0.7476 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.2405, allocations: 203.8 kB / 0.7477 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.2407, allocations: 47.27 kB / 0.7478 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.241, allocations: 147.4 kB / 0.7479 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/0.241, allocations: 0 / 0.7479 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/0.2806, allocations: 8.295 MB / 0.756 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.88, allocations: 3.453 kB / 0.756 GB, free: 4.16 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 & 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 sys.exit(0), Time elapsed: 16.140059994067997] Failed to read output from testmodel.py, exit status != 0: 11.994571946095675 12.344021622 12.123754558 Calling exit ...