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.001664/0.001664, allocations: 105 kB / 20.44 MB, free: 1.504 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.001618/0.001618, allocations: 209.9 kB / 23.76 MB, free: 4.727 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.9946/0.9946, allocations: 150 MB / 463.9 MB, free: 10.52 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: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") [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.00209/0.00209, allocations: 70.3 kB / 0.6425 GB, free: 9.945 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1939, allocations: 89.17 MB / 0.7295 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005135/0.1991, allocations: 3.192 MB / 0.7327 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002352/0.2014, allocations: 1.036 MB / 0.7337 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004623/0.2019, allocations: 15.88 kB / 0.7337 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000275/0.2022, allocations: 75.2 kB / 0.7338 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.2024, allocations: 103.1 kB / 0.7339 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006613/0.2031, allocations: 251.7 kB / 0.7341 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006359/0.2037, allocations: 0.5583 MB / 0.7346 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.2041, allocations: 183.8 kB / 0.7348 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.2044, allocations: 219.1 kB / 0.735 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.2047, allocations: 210.9 kB / 0.7352 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-05/0.2048, allocations: 52 kB / 0.7353 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.867e-05/0.2049, allocations: 60 kB / 0.7353 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.205, allocations: 111.6 kB / 0.7354 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002155/0.2052, allocations: 234.7 kB / 0.7357 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007396/0.2059, allocations: 0.5912 MB / 0.7362 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2059, allocations: 0 / 0.7362 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.206, allocations: 0 / 0.7362 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.206, allocations: 0 / 0.7362 GB, free: 9.938 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.001265/0.2072, allocations: 0.7175 MB / 0.7369 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2073, allocations: 8.031 kB / 0.737 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000211/0.2075, allocations: 68.56 kB / 0.737 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.2082, allocations: 359.1 kB / 0.7374 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.2082, allocations: 37.31 kB / 0.7374 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.746e-05/0.2083, allocations: 36.38 kB / 0.7374 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.209, allocations: 401.9 kB / 0.7378 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.209, allocations: 0 / 0.7378 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.759e-05/0.2091, allocations: 16 kB / 0.7378 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.2091, allocations: 15.98 kB / 0.7378 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005734/0.2097, allocations: 259.8 kB / 0.7381 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.2115, allocations: 1.266 MB / 0.7393 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.2122, allocations: 305.7 kB / 0.7396 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.2125, allocations: 132.8 kB / 0.7398 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.2126, allocations: 4 kB / 0.7398 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003483/0.2129, allocations: 169.5 kB / 0.7399 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.713e-06/0.2129, allocations: 0 / 0.7399 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0008419/0.2137, allocations: 386.8 kB / 0.7403 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.838e-05/0.2138, allocations: 85.05 kB / 0.7404 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004048/0.2142, allocations: 353.6 kB / 0.7407 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.2143, allocations: 37.7 kB / 0.7407 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.2145, allocations: 236.7 kB / 0.741 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.2146, allocations: 111.1 kB / 0.7411 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.2147, allocations: 70.08 kB / 0.7411 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.2149, allocations: 350.8 kB / 0.7415 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.2151, allocations: 104.7 kB / 0.7416 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002872/0.2154, allocations: 160.6 kB / 0.7417 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004895/0.2159, allocations: 263.8 kB / 0.742 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.2159, allocations: 0 / 0.742 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006882/0.2166, allocations: 354.7 kB / 0.7423 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2166, allocations: 8 kB / 0.7423 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2166, allocations: 0 / 0.7423 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.2166, allocations: 4 kB / 0.7423 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.2169, allocations: 63.91 kB / 0.7424 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.2169, allocations: 7.938 kB / 0.7424 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.2171, allocations: 43.95 kB / 0.7424 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.2171, allocations: 12 kB / 0.7424 GB, free: 3.305 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.0002192/0.2173, allocations: 174.9 kB / 0.7426 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.2174, allocations: 47.7 kB / 0.7427 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.2175, allocations: 44.25 kB / 0.7427 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.2175, allocations: 7.984 kB / 0.7427 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2175, allocations: 0 / 0.7427 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.2175, allocations: 0 / 0.7427 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.2188, allocations: 0.7789 MB / 0.7435 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2188, allocations: 0 / 0.7435 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002652/0.219, allocations: 55.91 kB / 0.7435 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.219, allocations: 11.88 kB / 0.7435 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.2191, allocations: 4 kB / 0.7435 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.2191, allocations: 4 kB / 0.7435 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2191, allocations: 0 / 0.7435 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008819/0.22, allocations: 0.5217 MB / 0.7441 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.2201, allocations: 59.7 kB / 0.7441 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.2201, allocations: 8 kB / 0.7441 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.2203, allocations: 19.97 kB / 0.7441 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.079e-05/0.2204, allocations: 23.95 kB / 0.7442 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.2204, allocations: 16.06 kB / 0.7442 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002878/0.2207, allocations: 243.2 kB / 0.7444 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2207, allocations: 0 / 0.7444 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003662/0.2211, allocations: 95.67 kB / 0.7445 GB, free: 1.129 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.0001456/0.2212, allocations: 104.1 kB / 0.7446 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006026/0.2218, allocations: 256.4 kB / 0.7448 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2218, allocations: 0 / 0.7448 GB, free: 0.7695 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.2221, allocations: 123.8 kB / 0.745 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.2226, allocations: 83.22 kB / 0.745 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.2243, allocations: 0.8501 MB / 0.7459 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.2248, allocations: 0.8113 MB / 0.7467 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.2249, allocations: 35.44 kB / 0.7467 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of SimCode: time 6.11e-07/0.2249, allocations: 3.938 kB / 0.7467 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.00828/0.2332, allocations: 4.907 MB / 0.7515 GB, free: 9.914 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.996705003082752] Failed to read output from testmodel.py, exit status != 0: 0.2424505320377648 0.5642620740000001 0.35562469500000005 Calling exit ...