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.001284/0.001284, allocations: 114.5 kB / 17.13 MB, free: 6.027 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.001344/0.001344, allocations: 207.2 kB / 20.1 MB, free: 3.074 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.542/1.542, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.972/0.972, allocations: 150 MB / 459.5 MB, free: 5.254 MB / 350.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.002745/0.002745, allocations: 67.06 kB / 0.6361 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2045, allocations: 89.13 MB / 0.7231 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005089/0.2096, allocations: 3.161 MB / 0.7262 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.2117, allocations: 1.028 MB / 0.7272 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003243/0.212, allocations: 19.88 kB / 0.7272 GB, free: 15.85 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.2123, allocations: 71.25 kB / 0.7273 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.2125, allocations: 95.11 kB / 0.7274 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.2132, allocations: 259 kB / 0.7277 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006324/0.2138, allocations: 0.5465 MB / 0.7282 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004069/0.2142, allocations: 187.7 kB / 0.7284 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003597/0.2146, allocations: 227 kB / 0.7286 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.2149, allocations: 203 kB / 0.7288 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.373e-05/0.2149, allocations: 55.94 kB / 0.7288 GB, free: 14.22 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.215, allocations: 56 kB / 0.7289 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.774e-05/0.2151, allocations: 103.6 kB / 0.729 GB, free: 14.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.2154, allocations: 250.6 kB / 0.7292 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007796/0.2161, allocations: 0.5874 MB / 0.7298 GB, free: 13.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2161, allocations: 0 / 0.7298 GB, free: 13.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2162, allocations: 4 kB / 0.7298 GB, free: 13.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.246e-06/0.2162, allocations: 0 / 0.7298 GB, free: 13.22 MB / 0.545 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.001335/0.2175, allocations: 0.7812 MB / 0.7306 GB, free: 12.39 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.2175, allocations: 12.03 kB / 0.7306 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.2176, allocations: 74.72 kB / 0.7306 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002172/0.2179, allocations: 72.48 kB / 0.7307 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00072/0.2186, allocations: 420.9 kB / 0.7311 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.2186, allocations: 29.38 kB / 0.7311 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.858e-05/0.2187, allocations: 44.36 kB / 0.7312 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.2194, allocations: 401.6 kB / 0.7316 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.2194, allocations: 4 kB / 0.7316 GB, free: 11.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.2194, allocations: 16 kB / 0.7316 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.2195, allocations: 12 kB / 0.7316 GB, free: 11.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.2201, allocations: 263.8 kB / 0.7318 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001958/0.222, allocations: 1.309 MB / 0.7331 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007646/0.2228, allocations: 298.1 kB / 0.7334 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.2231, allocations: 134.7 kB / 0.7335 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.2231, allocations: 7.984 kB / 0.7335 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/0.2235, allocations: 173.5 kB / 0.7337 GB, free: 9 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 3.447e-06/0.2235, allocations: 0 / 0.7337 GB, free: 9 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0009341/0.2245, allocations: 382.8 kB / 0.7341 GB, free: 8.621 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.2246, allocations: 89.05 kB / 0.7342 GB, free: 8.516 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00045/0.225, allocations: 353.6 kB / 0.7345 GB, free: 8.156 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.225, allocations: 33.7 kB / 0.7345 GB, free: 8.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.2253, allocations: 236.7 kB / 0.7348 GB, free: 7.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.2254, allocations: 115.1 kB / 0.7349 GB, free: 7.77 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.2255, allocations: 66.08 kB / 0.7349 GB, free: 7.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002664/0.2258, allocations: 354.8 kB / 0.7353 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.2261, allocations: 104.7 kB / 0.7354 GB, free: 7.238 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.2264, allocations: 168.3 kB / 0.7355 GB, free: 7.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.2269, allocations: 255.8 kB / 0.7358 GB, free: 6.777 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.2269, allocations: 3.938 kB / 0.7358 GB, free: 6.773 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006926/0.2276, allocations: 358.7 kB / 0.7361 GB, free: 6.418 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2276, allocations: 8 kB / 0.7361 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2276, allocations: 0 / 0.7361 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2276, allocations: 4 kB / 0.7361 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.2279, allocations: 63.91 kB / 0.7362 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.2279, allocations: 4 kB / 0.7362 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.2281, allocations: 35.95 kB / 0.7362 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.2281, allocations: 20 kB / 0.7362 GB, free: 6.285 MB / 0.545 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.0002167/0.2284, allocations: 171.2 kB / 0.7364 GB, free: 6.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.2284, allocations: 47.64 kB / 0.7365 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.2285, allocations: 52.19 kB / 0.7365 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2285, allocations: 4 kB / 0.7365 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2285, allocations: 0 / 0.7365 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.2286, allocations: 0 / 0.7365 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.2298, allocations: 0.8032 MB / 0.7373 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2298, allocations: 0 / 0.7373 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.23, allocations: 51.91 kB / 0.7373 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.23, allocations: 0 / 0.7373 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.347e-05/0.2301, allocations: 8 kB / 0.7374 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.2301, allocations: 0 / 0.7374 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2301, allocations: 0 / 0.7374 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/0.231, allocations: 0.5286 MB / 0.7379 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/0.2312, allocations: 136.8 kB / 0.738 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.2312, allocations: 11.98 kB / 0.738 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.2314, allocations: 19.98 kB / 0.738 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.2315, allocations: 19.97 kB / 0.738 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.2316, allocations: 8 kB / 0.7381 GB, free: 4.328 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003138/0.2319, allocations: 251.2 kB / 0.7383 GB, free: 4.086 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2319, allocations: 4 kB / 0.7383 GB, free: 4.082 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003781/0.2322, allocations: 91.73 kB / 0.7384 GB, free: 3.992 MB / 0.545 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.001267/0.2335, allocations: 1.071 MB / 0.7394 GB, free: 2.895 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005899/0.2341, allocations: 243.8 kB / 0.7397 GB, free: 2.656 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2341, allocations: 0 / 0.7397 GB, free: 2.656 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002734/0.2344, allocations: 127.8 kB / 0.7398 GB, free: 2.531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/0.2349, allocations: 87.39 kB / 0.7399 GB, free: 2.453 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00537/0.2403, allocations: 3.472 MB / 0.7433 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/0.2408, allocations: 0.8113 MB / 0.7441 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001942/0.241, allocations: 51.27 kB / 0.7441 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.2412, allocations: 135.4 kB / 0.7442 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of SimCode: time 1.673e-06/0.2412, allocations: 0 / 0.7442 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.2766, allocations: 7.491 MB / 0.7515 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/8.923, allocations: 0 / 0.7515 GB, free: 6.516 MB / 0.5606 GB " [Timeout remaining time 651] (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: 13.044036407023668] Failed to read output from testmodel.py, exit status != 0: 9.000807055970654 9.02533716 8.804849944 Calling exit ...