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.001535/0.001535, allocations: 100.4 kB / 20.48 MB, free: 1.363 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.001919/0.001919, allocations: 212.7 kB / 23.78 MB, free: 4.523 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.562/1.562, allocations: 230.6 MB / 257.6 MB, free: 7.785 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.986/0.986, allocations: 150 MB / 464 MB, free: 10.18 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.001996/0.001996, allocations: 61.72 kB / 0.6419 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1851, allocations: 89.18 MB / 0.729 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.00471/0.1898, allocations: 2.928 MB / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1918, allocations: 0.9896 MB / 0.7328 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.1921, allocations: 19.88 kB / 0.7329 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.1923, allocations: 71.25 kB / 0.7329 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.1925, allocations: 103.1 kB / 0.733 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005916/0.1931, allocations: 246.1 kB / 0.7333 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.1937, allocations: 0.5583 MB / 0.7338 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003386/0.1941, allocations: 180.2 kB / 0.734 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003188/0.1944, allocations: 227 kB / 0.7342 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.1946, allocations: 203 kB / 0.7344 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.612e-05/0.1947, allocations: 52 kB / 0.7344 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1948, allocations: 59.92 kB / 0.7345 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.1949, allocations: 115.6 kB / 0.7346 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.1951, allocations: 186.9 kB / 0.7348 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007492/0.1959, allocations: 0.599 MB / 0.7354 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1959, allocations: 0 / 0.7354 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.274e-06/0.1959, allocations: 0 / 0.7354 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.1959, allocations: 0 / 0.7354 GB, free: 10.24 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.001296/0.1972, allocations: 0.7098 MB / 0.7361 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.1972, allocations: 12.03 kB / 0.7361 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.408e-05/0.1972, allocations: 9.188 kB / 0.7361 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.666e-05/0.1973, allocations: 82.66 kB / 0.7362 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.1976, allocations: 72.48 kB / 0.7362 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007682/0.1983, allocations: 351.1 kB / 0.7366 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.1984, allocations: 29.38 kB / 0.7366 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/0.1985, allocations: 40.38 kB / 0.7366 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007909/0.1993, allocations: 456.9 kB / 0.7371 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.1993, allocations: 4 kB / 0.7371 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.1993, allocations: 16 kB / 0.7371 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.1993, allocations: 8 kB / 0.7371 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005863/0.1999, allocations: 263.8 kB / 0.7374 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.2017, allocations: 1.119 MB / 0.7384 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007129/0.2024, allocations: 304.4 kB / 0.7387 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.2026, allocations: 128.8 kB / 0.7389 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.2027, allocations: 4 kB / 0.7389 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003852/0.2031, allocations: 173.5 kB / 0.739 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.2031, allocations: 0 / 0.739 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0009097/0.204, allocations: 386.8 kB / 0.7394 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/0.2041, allocations: 81.11 kB / 0.7395 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.2045, allocations: 357.6 kB / 0.7398 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.207e-05/0.2045, allocations: 33.7 kB / 0.7398 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.2047, allocations: 249.2 kB / 0.7401 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.2048, allocations: 103.1 kB / 0.7402 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.2049, allocations: 74.06 kB / 0.7403 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2051, allocations: 346.8 kB / 0.7406 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002328/0.2053, allocations: 100.7 kB / 0.7407 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/0.2056, allocations: 194.3 kB / 0.7409 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004768/0.2061, allocations: 263.8 kB / 0.7411 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2061, allocations: 0 / 0.7411 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006379/0.2067, allocations: 358.7 kB / 0.7415 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.2068, allocations: 8 kB / 0.7415 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2068, allocations: 0 / 0.7415 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2068, allocations: 4 kB / 0.7415 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.2071, allocations: 63.91 kB / 0.7415 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.124e-05/0.2071, allocations: 11.92 kB / 0.7415 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.2073, allocations: 35.77 kB / 0.7416 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.2073, allocations: 19.94 kB / 0.7416 GB, free: 3.574 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.0002075/0.2075, allocations: 177 kB / 0.7418 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.2076, allocations: 43.72 kB / 0.7418 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.953e-05/0.2077, allocations: 48.19 kB / 0.7419 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2077, allocations: 4 kB / 0.7419 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.2077, allocations: 0 / 0.7419 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.2077, allocations: 3.984 kB / 0.7419 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.2089, allocations: 0.7322 MB / 0.7426 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2089, allocations: 0 / 0.7426 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.2091, allocations: 51.92 kB / 0.7426 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.2091, allocations: 0 / 0.7426 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.2092, allocations: 7.984 kB / 0.7426 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.2092, allocations: 4 kB / 0.7426 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2092, allocations: 0 / 0.7426 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.2101, allocations: 0.5295 MB / 0.7432 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.2102, allocations: 55.67 kB / 0.7432 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.2102, allocations: 12 kB / 0.7432 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.2104, allocations: 20.05 kB / 0.7432 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.2105, allocations: 23.95 kB / 0.7433 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.2105, allocations: 11.92 kB / 0.7433 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000269/0.2108, allocations: 247.2 kB / 0.7435 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2108, allocations: 0 / 0.7435 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003725/0.2112, allocations: 91.73 kB / 0.7436 GB, free: 1.453 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.001252/0.2124, allocations: 1.071 MB / 0.7446 GB, free: 368 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005854/0.213, allocations: 244.1 kB / 0.7449 GB, free: 124 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.213, allocations: 4 kB / 0.7449 GB, free: 120 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002767/0.2133, allocations: 132.3 kB / 0.745 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.2138, allocations: 98.3 kB / 0.7451 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005456/0.2193, allocations: 3.456 MB / 0.7485 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.2195, allocations: 207.8 kB / 0.7487 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000201/0.2197, allocations: 47.27 kB / 0.7487 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002588/0.22, allocations: 147.4 kB / 0.7489 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of SimCode: time 8.51e-07/0.22, allocations: 0 / 0.7489 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03275/0.2527, allocations: 7.97 MB / 0.7566 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.21, allocations: 0 / 0.7566 GB, free: 4.191 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.54112993401941] Failed to read output from testmodel.py, exit status != 0: 12.385885555064306 12.691968223 12.493344376 Calling exit ...