Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.001737/0.001737, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002026/0.002026, allocations: 216.3 kB / 23.78 MB, free: 4.555 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.532/1.532, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.015/1.015, allocations: 150 MB / 463.9 MB, free: 10.27 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.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis",fmuType="cs",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.002044/0.002044, allocations: 62.81 kB / 0.6419 GB, free: 9.988 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.206, allocations: 89.18 MB / 0.729 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004402/0.2104, allocations: 2.8 MB / 0.7318 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.2122, allocations: 0.9391 MB / 0.7327 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.2124, allocations: 15.88 kB / 0.7327 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002297/0.2126, allocations: 67.31 kB / 0.7328 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.2128, allocations: 91.19 kB / 0.7328 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000567/0.2134, allocations: 238.7 kB / 0.7331 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005499/0.2139, allocations: 491.2 kB / 0.7335 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.2142, allocations: 150.5 kB / 0.7337 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003363/0.2146, allocations: 195.2 kB / 0.7339 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.2148, allocations: 175 kB / 0.734 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.661e-05/0.2149, allocations: 44 kB / 0.7341 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.519e-05/0.215, allocations: 52 kB / 0.7341 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.266e-05/0.2151, allocations: 95.62 kB / 0.7342 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.2152, allocations: 159.1 kB / 0.7344 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006509/0.2159, allocations: 0.5212 MB / 0.7349 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2159, allocations: 3.938 kB / 0.7349 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2159, allocations: 0 / 0.7349 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.2159, allocations: 0 / 0.7349 GB, free: 10.86 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001175/0.2171, allocations: 0.6489 MB / 0.7355 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2171, allocations: 12.03 kB / 0.7355 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.445e-05/0.2171, allocations: 8.844 kB / 0.7355 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.381e-05/0.2172, allocations: 66.72 kB / 0.7356 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.2175, allocations: 64.59 kB / 0.7357 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006827/0.2181, allocations: 338.8 kB / 0.736 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.2182, allocations: 21.03 kB / 0.736 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.2182, allocations: 36.3 kB / 0.736 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006806/0.2189, allocations: 414.4 kB / 0.7364 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.2189, allocations: 4 kB / 0.7364 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.195e-05/0.219, allocations: 8 kB / 0.7364 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.219, allocations: 11.94 kB / 0.7365 GB, free: 9.129 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.2195, allocations: 210.5 kB / 0.7367 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.221, allocations: 1.016 MB / 0.7376 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006276/0.2216, allocations: 230.7 kB / 0.7379 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.2218, allocations: 104.8 kB / 0.738 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.2219, allocations: 0 / 0.738 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.2219, allocations: 46.81 kB / 0.738 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.2219, allocations: 0 / 0.738 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0007225/0.2226, allocations: 287 kB / 0.7383 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.2227, allocations: 110.7 kB / 0.7384 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003994/0.2231, allocations: 345.7 kB / 0.7387 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.2231, allocations: 33.7 kB / 0.7388 GB, free: 6.656 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.2233, allocations: 224.5 kB / 0.739 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.815e-05/0.2234, allocations: 75.33 kB / 0.739 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.625e-05/0.2235, allocations: 57.64 kB / 0.7391 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2236, allocations: 342.8 kB / 0.7394 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.2238, allocations: 79.95 kB / 0.7395 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.2241, allocations: 203.1 kB / 0.7397 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004145/0.2245, allocations: 217.1 kB / 0.7399 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.2245, allocations: 4 kB / 0.7399 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005308/0.2251, allocations: 277.2 kB / 0.7402 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.2251, allocations: 8 kB / 0.7402 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.2251, allocations: 0 / 0.7402 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.2251, allocations: 4 kB / 0.7402 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.2254, allocations: 55.89 kB / 0.7402 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.2254, allocations: 4 kB / 0.7402 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.2256, allocations: 27.88 kB / 0.7403 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.2256, allocations: 12.19 kB / 0.7403 GB, free: 5.016 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: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001783/0.2258, allocations: 165.7 kB / 0.7404 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.184e-05/0.2258, allocations: 35.77 kB / 0.7405 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.519e-05/0.2259, allocations: 39.45 kB / 0.7405 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2259, allocations: 0 / 0.7405 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2259, allocations: 0 / 0.7405 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2259, allocations: 3.984 kB / 0.7405 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.2264, allocations: 332.4 kB / 0.7408 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2264, allocations: 0 / 0.7408 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.2266, allocations: 47.91 kB / 0.7409 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2266, allocations: 8 kB / 0.7409 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.2266, allocations: 0 / 0.7409 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2266, allocations: 0 / 0.7409 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2266, allocations: 0 / 0.7409 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000737/0.2274, allocations: 435.8 kB / 0.7413 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.2275, allocations: 59.7 kB / 0.7413 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.2275, allocations: 0 / 0.7413 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.2277, allocations: 24.05 kB / 0.7414 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.775e-05/0.2278, allocations: 19.91 kB / 0.7414 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.2278, allocations: 7.984 kB / 0.7414 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002599/0.228, allocations: 243.1 kB / 0.7416 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.228, allocations: 0 / 0.7416 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003324/0.2284, allocations: 75.78 kB / 0.7417 GB, free: 3.484 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.001048/0.2294, allocations: 0.964 MB / 0.7426 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.2299, allocations: 187.7 kB / 0.7428 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2299, allocations: 0 / 0.7428 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002054/0.2301, allocations: 93.41 kB / 0.7429 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.2306, allocations: 82.17 kB / 0.743 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.235, allocations: 3.128 MB / 0.746 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.2352, allocations: 195.1 kB / 0.7462 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001554/0.2354, allocations: 42.89 kB / 0.7463 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.2356, allocations: 127.4 kB / 0.7464 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.2356, allocations: 0 / 0.7464 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04037/0.2759, allocations: 7.171 MB / 0.7534 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.24, allocations: 2.234 kB / 0.7534 GB, free: 7.594 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresis.fmu > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.688583598006517] Failed to read output from testmodel.py, exit status != 0: 12.4111536629498 12.726318211 12.507802505999999 Calling exit ...