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.001474/0.001474, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001639/0.001639, allocations: 213 kB / 22.99 MB, free: 4.602 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.985/0.985, allocations: 149.9 MB / 463.1 MB, free: 10.32 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.002294/0.002294, allocations: 74.67 kB / 0.6411 GB, free: 10.14 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1988, allocations: 89.17 MB / 0.7281 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004865/0.2036, allocations: 2.943 MB / 0.731 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00224/0.2059, allocations: 0.9857 MB / 0.732 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.2062, allocations: 19.88 kB / 0.732 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.2065, allocations: 71.25 kB / 0.7321 GB, free: 13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.2067, allocations: 99.11 kB / 0.7322 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.2073, allocations: 255.6 kB / 0.7324 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006346/0.208, allocations: 0.5544 MB / 0.7329 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.2083, allocations: 164.2 kB / 0.7331 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.2087, allocations: 227 kB / 0.7333 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.2089, allocations: 182.9 kB / 0.7335 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.107e-05/0.209, allocations: 52 kB / 0.7335 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.2091, allocations: 59.98 kB / 0.7336 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.898e-05/0.2092, allocations: 115.6 kB / 0.7337 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.2094, allocations: 186.9 kB / 0.7339 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00073/0.2101, allocations: 0.5952 MB / 0.7345 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2101, allocations: 3.938 kB / 0.7345 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2101, allocations: 0 / 0.7345 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.2101, allocations: 0 / 0.7345 GB, free: 10.52 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.001277/0.2114, allocations: 0.7136 MB / 0.7352 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.2114, allocations: 12.03 kB / 0.7352 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.514e-05/0.2115, allocations: 70.72 kB / 0.7352 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002145/0.2118, allocations: 68.55 kB / 0.7353 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007634/0.2125, allocations: 365.7 kB / 0.7357 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.263e-05/0.2126, allocations: 29.38 kB / 0.7357 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.613e-05/0.2126, allocations: 40.38 kB / 0.7357 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007369/0.2134, allocations: 453 kB / 0.7362 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.2134, allocations: 4 kB / 0.7362 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.2134, allocations: 12 kB / 0.7362 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.2134, allocations: 12 kB / 0.7362 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005881/0.214, allocations: 267.8 kB / 0.7364 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.2158, allocations: 1.123 MB / 0.7375 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/0.2166, allocations: 305.3 kB / 0.7378 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.2168, allocations: 126 kB / 0.7379 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.2169, allocations: 4 kB / 0.738 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/0.2172, allocations: 169.6 kB / 0.7381 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.295e-06/0.2172, allocations: 4 kB / 0.7381 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0008754/0.2181, allocations: 382.8 kB / 0.7385 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.908e-05/0.2182, allocations: 89.05 kB / 0.7386 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/0.2186, allocations: 357.5 kB / 0.7389 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.2186, allocations: 37.7 kB / 0.7389 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.2188, allocations: 237.3 kB / 0.7392 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.2189, allocations: 111.1 kB / 0.7393 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.2191, allocations: 66.06 kB / 0.7393 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2192, allocations: 358.8 kB / 0.7397 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.2195, allocations: 96.7 kB / 0.7398 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.2198, allocations: 190.3 kB / 0.74 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005027/0.2203, allocations: 263.8 kB / 0.7402 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.2203, allocations: 7.938 kB / 0.7402 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006646/0.221, allocations: 350.7 kB / 0.7406 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.221, allocations: 4 kB / 0.7406 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.221, allocations: 4 kB / 0.7406 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.221, allocations: 4 kB / 0.7406 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.2213, allocations: 68.09 kB / 0.7406 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.647e-05/0.2213, allocations: 4 kB / 0.7406 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.2215, allocations: 35.77 kB / 0.7407 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.2216, allocations: 19.92 kB / 0.7407 GB, free: 3.859 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.0002242/0.2218, allocations: 178.8 kB / 0.7409 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.2219, allocations: 47.59 kB / 0.7409 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.222, allocations: 48.25 kB / 0.7409 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.222, allocations: 4 kB / 0.7409 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.222, allocations: 4 kB / 0.741 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.222, allocations: 3.984 kB / 0.741 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/0.2232, allocations: 0.7321 MB / 0.7417 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.2232, allocations: 3.984 kB / 0.7417 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.2235, allocations: 39.98 kB / 0.7417 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.2235, allocations: 4 kB / 0.7417 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.2235, allocations: 11.92 kB / 0.7417 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.2235, allocations: 4 kB / 0.7417 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2235, allocations: 4 kB / 0.7417 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009573/0.2245, allocations: 0.5178 MB / 0.7422 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.2246, allocations: 67.66 kB / 0.7423 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.2247, allocations: 4 kB / 0.7423 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.2249, allocations: 15.98 kB / 0.7423 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.225, allocations: 27.95 kB / 0.7424 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.225, allocations: 11.98 kB / 0.7424 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002988/0.2253, allocations: 255.2 kB / 0.7426 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2253, allocations: 0 / 0.7426 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003531/0.2256, allocations: 83.78 kB / 0.7427 GB, free: 1.73 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.001214/0.2269, allocations: 1.063 MB / 0.7437 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005728/0.2274, allocations: 248.5 kB / 0.744 GB, free: 408 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2274, allocations: 0 / 0.744 GB, free: 408 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002736/0.2277, allocations: 132.3 kB / 0.7441 GB, free: 276 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.2283, allocations: 80.69 kB / 0.7442 GB, free: 200 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/0.2338, allocations: 3.458 MB / 0.7475 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.234, allocations: 215.8 kB / 0.7477 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002011/0.2342, allocations: 47.27 kB / 0.7478 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.2345, allocations: 143.4 kB / 0.7479 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of SimCode: time 1.473e-06/0.2345, allocations: 4 kB / 0.7479 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03847/0.273, allocations: 8.29 MB / 0.756 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.82, allocations: 3.453 kB / 0.756 GB, free: 4.141 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.022273014765233] Failed to read output from testmodel.py, exit status != 0: 11.937998301815242 12.257502057 12.04468285 Calling exit ...