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.001804/0.001804, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002414/0.002414, allocations: 215.5 kB / 22.99 MB, free: 4.977 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.549/1.549, 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.94/0.94, allocations: 149.9 MB / 463 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: 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.002103/0.002103, allocations: 63.34 kB / 0.6415 GB, free: 9.629 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2145, allocations: 89.18 MB / 0.7286 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.005162/0.2197, allocations: 2.945 MB / 0.7315 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002185/0.2219, allocations: 0.9857 MB / 0.7324 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.2221, allocations: 19.88 kB / 0.7325 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002597/0.2224, allocations: 71.25 kB / 0.7325 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.2226, allocations: 107 kB / 0.7326 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006268/0.2232, allocations: 250.8 kB / 0.7329 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006283/0.2239, allocations: 0.5544 MB / 0.7334 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003542/0.2242, allocations: 171.8 kB / 0.7336 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003347/0.2245, allocations: 227 kB / 0.7338 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.2248, allocations: 182.9 kB / 0.734 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.369e-05/0.2249, allocations: 52 kB / 0.734 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.225, allocations: 56 kB / 0.7341 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.2251, allocations: 115.6 kB / 0.7342 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001882/0.2253, allocations: 182.9 kB / 0.7344 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007487/0.226, allocations: 0.5952 MB / 0.7349 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.226, allocations: 0 / 0.7349 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.242e-06/0.226, allocations: 0 / 0.7349 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.226, allocations: 4 kB / 0.7349 GB, free: 9.988 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.001331/0.2274, allocations: 0.7097 MB / 0.7356 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2274, allocations: 12.03 kB / 0.7357 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.2276, allocations: 68.55 kB / 0.7357 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007577/0.2284, allocations: 361.7 kB / 0.7361 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.909e-05/0.2284, allocations: 37.36 kB / 0.7361 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.921e-05/0.2285, allocations: 36.38 kB / 0.7361 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.2292, allocations: 449.3 kB / 0.7366 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.2293, allocations: 4 kB / 0.7366 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/0.2293, allocations: 15.98 kB / 0.7366 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.2293, allocations: 11.94 kB / 0.7366 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005713/0.2299, allocations: 259.8 kB / 0.7368 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.2317, allocations: 1.061 MB / 0.7379 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007216/0.2324, allocations: 294.6 kB / 0.7382 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.2327, allocations: 130.7 kB / 0.7383 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.2327, allocations: 4 kB / 0.7383 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003639/0.2331, allocations: 185.4 kB / 0.7385 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/0.2331, allocations: 0 / 0.7385 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0008783/0.234, allocations: 386.8 kB / 0.7388 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.389e-05/0.2341, allocations: 81.11 kB / 0.7389 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.2345, allocations: 345.6 kB / 0.7392 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.2345, allocations: 37.7 kB / 0.7393 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.2348, allocations: 241.2 kB / 0.7395 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.2349, allocations: 111.1 kB / 0.7396 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.235, allocations: 70.06 kB / 0.7397 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.2352, allocations: 354.8 kB / 0.74 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.2354, allocations: 92.7 kB / 0.7401 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003038/0.2357, allocations: 202.3 kB / 0.7403 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.2362, allocations: 255.8 kB / 0.7405 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2362, allocations: 3.938 kB / 0.7405 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006481/0.2368, allocations: 362.6 kB / 0.7409 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.2369, allocations: 4 kB / 0.7409 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2369, allocations: 0 / 0.7409 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2369, allocations: 4 kB / 0.7409 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.2372, allocations: 67.91 kB / 0.741 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.848e-06/0.2372, allocations: 192 / 0.741 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.2374, allocations: 39.83 kB / 0.741 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.2374, allocations: 12 kB / 0.741 GB, free: 3.496 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.0002107/0.2376, allocations: 174.8 kB / 0.7412 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.2377, allocations: 47.69 kB / 0.7412 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2378, allocations: 44.11 kB / 0.7413 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.371e-06/0.2378, allocations: 4 kB / 0.7413 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2378, allocations: 3.938 kB / 0.7413 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2378, allocations: 0 / 0.7413 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001142/0.2389, allocations: 0.682 MB / 0.7419 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.2389, allocations: 0 / 0.7419 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.2392, allocations: 51.91 kB / 0.742 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.2392, allocations: 0 / 0.742 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/0.2392, allocations: 4 kB / 0.742 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2392, allocations: 4 kB / 0.742 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2392, allocations: 0 / 0.742 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009238/0.2401, allocations: 0.5256 MB / 0.7425 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.2402, allocations: 63.66 kB / 0.7426 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.2403, allocations: 7.984 kB / 0.7426 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001729/0.2405, allocations: 15.98 kB / 0.7426 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.2405, allocations: 27.95 kB / 0.7426 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.2406, allocations: 8 kB / 0.7426 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002605/0.2408, allocations: 239.2 kB / 0.7429 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2408, allocations: 0 / 0.7429 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003558/0.2412, allocations: 87.78 kB / 0.7429 GB, free: 1.457 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.0001527/0.2413, allocations: 115.2 kB / 0.743 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005619/0.2419, allocations: 248 kB / 0.7433 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2419, allocations: 0 / 0.7433 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.2422, allocations: 127.8 kB / 0.7434 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005279/0.2427, allocations: 83.72 kB / 0.7435 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.2443, allocations: 0.8129 MB / 0.7443 GB, free: 52 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.2445, allocations: 219.8 kB / 0.7445 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001703/0.2447, allocations: 47.27 kB / 0.7445 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.2448, allocations: 31.42 kB / 0.7446 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.2448, allocations: 0 / 0.7446 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of Templates: time 0.01084/0.2556, allocations: 4.123 MB / 0.7486 GB, free: 11.71 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: 6.369740109890699] Failed to read output from testmodel.py, exit status != 0: 0.2650750130414963 0.65594566 0.426352565 Calling exit ...