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.001404/0.001404, allocations: 109 kB / 20.48 MB, free: 1.324 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.001824/0.001824, allocations: 214.3 kB / 23.79 MB, free: 4.535 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.57/1.57, allocations: 230.6 MB / 257.6 MB, free: 7.973 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.9681/0.9681, allocations: 150 MB / 464 MB, free: 10.49 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,fileNamePrefix="IBPSA_latest_IBPSA_Obsolete_Controls_Continuous_Examples_PIDHysteresisTimer",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.002865/0.002865, allocations: 63.03 kB / 0.642 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1904, allocations: 89.18 MB / 0.7291 GB, free: 1.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005273/0.1957, allocations: 3.194 MB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.1979, allocations: 1.032 MB / 0.7332 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003051/0.1982, allocations: 19.88 kB / 0.7332 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003068/0.1985, allocations: 75.2 kB / 0.7333 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002177/0.1987, allocations: 99.05 kB / 0.7334 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.1994, allocations: 258.1 kB / 0.7336 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006213/0.2, allocations: 0.5466 MB / 0.7342 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.2004, allocations: 184.1 kB / 0.7344 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003425/0.2007, allocations: 231 kB / 0.7346 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002728/0.201, allocations: 206.9 kB / 0.7348 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.37e-05/0.2011, allocations: 52 kB / 0.7348 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.902e-05/0.2012, allocations: 56 kB / 0.7349 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.671e-05/0.2013, allocations: 107.6 kB / 0.735 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.2015, allocations: 238.6 kB / 0.7352 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007178/0.2022, allocations: 0.5874 MB / 0.7358 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2022, allocations: 4 kB / 0.7358 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2022, allocations: 0 / 0.7358 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.2022, allocations: 0 / 0.7358 GB, free: 10.42 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.001335/0.2035, allocations: 0.7136 MB / 0.7365 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.2036, allocations: 12.03 kB / 0.7365 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.437e-05/0.2036, allocations: 9.188 kB / 0.7365 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.615e-05/0.2037, allocations: 78.7 kB / 0.7366 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.2039, allocations: 68.55 kB / 0.7366 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/0.2046, allocations: 359.1 kB / 0.737 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.2047, allocations: 33.38 kB / 0.737 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/0.2048, allocations: 40.38 kB / 0.7371 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007116/0.2055, allocations: 405.4 kB / 0.7374 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.2055, allocations: 4 kB / 0.7374 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.2055, allocations: 12 kB / 0.7375 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.2055, allocations: 8 kB / 0.7375 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005844/0.2061, allocations: 263.8 kB / 0.7377 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00193/0.2081, allocations: 1.27 MB / 0.739 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000714/0.2088, allocations: 294.6 kB / 0.7392 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.209, allocations: 128.8 kB / 0.7394 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.2091, allocations: 11.88 kB / 0.7394 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003634/0.2094, allocations: 174.1 kB / 0.7395 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.315e-06/0.2094, allocations: 0 / 0.7395 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0008675/0.2103, allocations: 382.8 kB / 0.7399 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.2104, allocations: 89.09 kB / 0.74 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.2108, allocations: 349.6 kB / 0.7403 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.2108, allocations: 37.7 kB / 0.7404 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/0.211, allocations: 240.6 kB / 0.7406 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.2111, allocations: 115.1 kB / 0.7407 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.2113, allocations: 66.06 kB / 0.7408 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.2115, allocations: 354.8 kB / 0.7411 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.2117, allocations: 96.7 kB / 0.7412 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.212, allocations: 164.6 kB / 0.7413 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.2125, allocations: 263.8 kB / 0.7416 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2125, allocations: 0 / 0.7416 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006855/0.2132, allocations: 358.7 kB / 0.7419 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.2132, allocations: 4 kB / 0.7419 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2132, allocations: 4 kB / 0.742 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.2132, allocations: 4 kB / 0.742 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.2135, allocations: 63.91 kB / 0.742 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.2135, allocations: 4 kB / 0.742 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001938/0.2137, allocations: 35.95 kB / 0.7421 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.2137, allocations: 20 kB / 0.7421 GB, free: 3.688 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.0002222/0.214, allocations: 182.8 kB / 0.7422 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.214, allocations: 43.66 kB / 0.7423 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.2141, allocations: 48.25 kB / 0.7423 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.2141, allocations: 0 / 0.7423 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.2141, allocations: 4 kB / 0.7423 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2141, allocations: 0 / 0.7423 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.2154, allocations: 0.7789 MB / 0.7431 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2154, allocations: 0 / 0.7431 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.2156, allocations: 47.97 kB / 0.7431 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2156, allocations: 0 / 0.7431 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/0.2156, allocations: 8 kB / 0.7432 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2156, allocations: 0 / 0.7432 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.2157, allocations: 7.938 kB / 0.7432 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009046/0.2166, allocations: 0.5256 MB / 0.7437 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.2167, allocations: 59.67 kB / 0.7437 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/0.2167, allocations: 11.98 kB / 0.7437 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.2169, allocations: 15.98 kB / 0.7438 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.14e-05/0.217, allocations: 23.95 kB / 0.7438 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.217, allocations: 7.938 kB / 0.7438 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003081/0.2173, allocations: 255.2 kB / 0.744 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2173, allocations: 0 / 0.744 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003989/0.2177, allocations: 91.73 kB / 0.7441 GB, free: 1.516 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.001315/0.219, allocations: 1.069 MB / 0.7452 GB, free: 432 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006015/0.2196, allocations: 244.1 kB / 0.7454 GB, free: 188 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2196, allocations: 0 / 0.7454 GB, free: 188 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003176/0.22, allocations: 128.3 kB / 0.7455 GB, free: 60 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.2205, allocations: 88.56 kB / 0.7456 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005076/0.2256, allocations: 3.46 MB / 0.749 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004961/0.2261, allocations: 0.8113 MB / 0.7498 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001884/0.2263, allocations: 47.25 kB / 0.7498 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.2265, allocations: 147.4 kB / 0.75 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.2265, allocations: 0 / 0.75 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03236/0.2589, allocations: 7.815 MB / 0.7576 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.04, allocations: 13.94 kB / 0.7576 GB, free: 3.75 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.400156429968774] Failed to read output from testmodel.py, exit status != 0: 12.209084399044514 12.523926669 12.317525249000001 Calling exit ...