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.001701/0.001701, allocations: 119 kB / 19.69 MB, free: 2.199 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.002052/0.002052, allocations: 223.4 kB / 23.01 MB, free: 5.047 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.984 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 1.105/1.105, allocations: 150 MB / 463.2 MB, free: 10.5 MB / 366.1 MB " [Timeout remaining time 178] 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.002061/0.002061, allocations: 60.5 kB / 0.6412 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1957, allocations: 89.18 MB / 0.7283 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00476/0.2004, allocations: 3.19 MB / 0.7314 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2025, allocations: 1.032 MB / 0.7325 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.2028, allocations: 15.88 kB / 0.7325 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.2031, allocations: 75.19 kB / 0.7325 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.2033, allocations: 107.1 kB / 0.7326 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006505/0.204, allocations: 251.3 kB / 0.7329 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006433/0.2046, allocations: 0.5505 MB / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003671/0.205, allocations: 188.1 kB / 0.7336 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.2053, allocations: 227 kB / 0.7338 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.2056, allocations: 210.9 kB / 0.734 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.082e-05/0.2057, allocations: 52 kB / 0.7341 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.952e-05/0.2058, allocations: 52 kB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.659e-05/0.2059, allocations: 115.6 kB / 0.7342 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.2061, allocations: 234.7 kB / 0.7345 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007152/0.2068, allocations: 0.5912 MB / 0.735 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2068, allocations: 0 / 0.735 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2068, allocations: 3.938 kB / 0.735 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.411e-05/0.2068, allocations: 0 / 0.735 GB, free: 10.43 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.001243/0.208, allocations: 0.7136 MB / 0.7357 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2081, allocations: 8.031 kB / 0.7357 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.506e-05/0.2082, allocations: 74.7 kB / 0.7358 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.2084, allocations: 68.56 kB / 0.7359 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000683/0.2091, allocations: 363.1 kB / 0.7362 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.2091, allocations: 29.38 kB / 0.7362 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.2092, allocations: 36.38 kB / 0.7363 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006715/0.2099, allocations: 397.7 kB / 0.7367 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.2099, allocations: 3.984 kB / 0.7367 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.2099, allocations: 16 kB / 0.7367 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.2099, allocations: 8 kB / 0.7367 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005579/0.2105, allocations: 263.8 kB / 0.7369 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.2123, allocations: 1.278 MB / 0.7382 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.213, allocations: 298.5 kB / 0.7385 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.2133, allocations: 124.8 kB / 0.7386 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.2133, allocations: 4 kB / 0.7386 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000354/0.2137, allocations: 177.5 kB / 0.7388 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.744e-06/0.2137, allocations: 0 / 0.7388 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.000861/0.2145, allocations: 386.8 kB / 0.7391 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.2146, allocations: 81.11 kB / 0.7392 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004056/0.215, allocations: 353.6 kB / 0.7395 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.2151, allocations: 33.7 kB / 0.7396 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.2153, allocations: 241.2 kB / 0.7398 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.2154, allocations: 115.1 kB / 0.7399 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.2155, allocations: 74.02 kB / 0.74 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2157, allocations: 350.8 kB / 0.7403 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.2159, allocations: 100.7 kB / 0.7404 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.2162, allocations: 164.6 kB / 0.7406 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.2167, allocations: 259.8 kB / 0.7408 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.2167, allocations: 7.938 kB / 0.7408 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006344/0.2173, allocations: 354.6 kB / 0.7412 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.2173, allocations: 8 kB / 0.7412 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2173, allocations: 0 / 0.7412 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.2173, allocations: 4 kB / 0.7412 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.2176, allocations: 64.09 kB / 0.7412 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.2176, allocations: 4 kB / 0.7412 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.2178, allocations: 39.77 kB / 0.7413 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.2179, allocations: 16 kB / 0.7413 GB, free: 3.719 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.0002246/0.2181, allocations: 176.8 kB / 0.7415 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.2181, allocations: 43.7 kB / 0.7415 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.878e-05/0.2182, allocations: 52.19 kB / 0.7416 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2182, allocations: 8 kB / 0.7416 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.2183, allocations: 0 / 0.7416 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2183, allocations: 0 / 0.7416 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.2195, allocations: 0.775 MB / 0.7423 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2195, allocations: 3.938 kB / 0.7423 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.2197, allocations: 43.97 kB / 0.7424 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.2197, allocations: 4 kB / 0.7424 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.2198, allocations: 4 kB / 0.7424 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.2198, allocations: 4 kB / 0.7424 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2198, allocations: 4 kB / 0.7424 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009133/0.2207, allocations: 0.5255 MB / 0.7429 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.2208, allocations: 55.7 kB / 0.743 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.2209, allocations: 12 kB / 0.743 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.2211, allocations: 24.03 kB / 0.743 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.2211, allocations: 23.95 kB / 0.743 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.2212, allocations: 12 kB / 0.743 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002661/0.2214, allocations: 247.1 kB / 0.7433 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2214, allocations: 0 / 0.7433 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003653/0.2218, allocations: 87.73 kB / 0.7433 GB, free: 1.555 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.001177/0.223, allocations: 1.064 MB / 0.7444 GB, free: 476 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005751/0.2235, allocations: 252.5 kB / 0.7446 GB, free: 224 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2235, allocations: 4 kB / 0.7446 GB, free: 220 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.2238, allocations: 128.3 kB / 0.7447 GB, free: 92 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.2243, allocations: 86.05 kB / 0.7448 GB, free: 12 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004981/0.2293, allocations: 3.46 MB / 0.7482 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004988/0.2298, allocations: 0.8152 MB / 0.749 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000179/0.23, allocations: 51.25 kB / 0.7491 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000222/0.2302, allocations: 139.4 kB / 0.7492 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/0.2302, allocations: 0 / 0.7492 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0391/0.2693, allocations: 7.791 MB / 0.7568 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.75, allocations: 4.062 kB / 0.7568 GB, free: 3.797 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.162517668002693] Failed to read output from testmodel.py, exit status != 0: 11.861150994998752 12.147328065 11.937514715 Calling exit ...