Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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.001554/0.001554, allocations: 105.2 kB / 20.45 MB, free: 1.5 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.001888/0.001888, allocations: 219.2 kB / 23.76 MB, free: 4.711 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.9615/0.9615, allocations: 150 MB / 463.9 MB, free: 10.5 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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") [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.002044/0.002044, allocations: 65.94 kB / 0.6425 GB, free: 9.91 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2084, allocations: 89.16 MB / 0.7295 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004924/0.2133, allocations: 3.033 MB / 0.7325 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002054/0.2153, allocations: 0.9742 MB / 0.7335 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002459/0.2156, allocations: 15.88 kB / 0.7335 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.2159, allocations: 71.27 kB / 0.7335 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.2161, allocations: 95.17 kB / 0.7336 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.2167, allocations: 231.5 kB / 0.7339 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005736/0.2173, allocations: 491.2 kB / 0.7343 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.2176, allocations: 158.1 kB / 0.7345 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.2179, allocations: 199.2 kB / 0.7347 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002427/0.2182, allocations: 175 kB / 0.7348 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.473e-05/0.2182, allocations: 48 kB / 0.7349 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.922e-05/0.2183, allocations: 48 kB / 0.7349 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.745e-05/0.2184, allocations: 99.61 kB / 0.735 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.2186, allocations: 206.8 kB / 0.7352 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006404/0.2192, allocations: 0.5134 MB / 0.7357 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2192, allocations: 0 / 0.7357 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2193, allocations: 0 / 0.7357 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.2193, allocations: 0 / 0.7357 GB, free: 10.44 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001172/0.2204, allocations: 0.6567 MB / 0.7364 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.2205, allocations: 12.03 kB / 0.7364 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.2207, allocations: 60.59 kB / 0.7364 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00067/0.2214, allocations: 338.9 kB / 0.7368 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.153e-05/0.2214, allocations: 21.03 kB / 0.7368 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.536e-05/0.2214, allocations: 32.38 kB / 0.7368 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.222, allocations: 341.6 kB / 0.7371 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.2221, allocations: 0 / 0.7371 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.273e-05/0.2221, allocations: 12 kB / 0.7371 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.2221, allocations: 8 kB / 0.7371 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004801/0.2226, allocations: 218.5 kB / 0.7374 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001599/0.2242, allocations: 1.144 MB / 0.7385 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005888/0.2248, allocations: 225.7 kB / 0.7387 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.225, allocations: 104.8 kB / 0.7388 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/0.225, allocations: 8 kB / 0.7388 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.2251, allocations: 34.94 kB / 0.7388 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.372e-06/0.2251, allocations: 0 / 0.7388 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.000686/0.2257, allocations: 295.9 kB / 0.7391 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.167e-05/0.2258, allocations: 106.8 kB / 0.7392 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.2262, allocations: 345.6 kB / 0.7395 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.2262, allocations: 33.7 kB / 0.7396 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.2264, allocations: 224.5 kB / 0.7398 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/0.2265, allocations: 87.3 kB / 0.7399 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.123e-05/0.2266, allocations: 49.66 kB / 0.7399 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.2268, allocations: 346.8 kB / 0.7402 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.2269, allocations: 71.97 kB / 0.7403 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.2272, allocations: 151.6 kB / 0.7405 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.2276, allocations: 210.1 kB / 0.7407 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2276, allocations: 0 / 0.7407 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005146/0.2281, allocations: 285.2 kB / 0.7409 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.2281, allocations: 11.97 kB / 0.7409 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.2281, allocations: 4 kB / 0.7409 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2281, allocations: 0 / 0.7409 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.2284, allocations: 59.91 kB / 0.741 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.2284, allocations: 0 / 0.741 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.2286, allocations: 31.88 kB / 0.741 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.2286, allocations: 7.984 kB / 0.741 GB, free: 4.699 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: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001906/0.2288, allocations: 169.7 kB / 0.7412 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.53e-05/0.2288, allocations: 39.77 kB / 0.7412 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.57e-05/0.2289, allocations: 39.45 kB / 0.7413 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.2289, allocations: 0 / 0.7413 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.2289, allocations: 7.984 kB / 0.7413 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2289, allocations: 0 / 0.7413 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.2294, allocations: 360.4 kB / 0.7416 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2294, allocations: 0 / 0.7416 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.2296, allocations: 39.98 kB / 0.7417 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2296, allocations: 8 kB / 0.7417 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.2296, allocations: 11.92 kB / 0.7417 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.2296, allocations: 0 / 0.7417 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2297, allocations: 4 kB / 0.7417 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/0.2304, allocations: 424 kB / 0.7421 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.2305, allocations: 51.72 kB / 0.7421 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.2305, allocations: 12.05 kB / 0.7422 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.2307, allocations: 19.98 kB / 0.7422 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.2307, allocations: 15.97 kB / 0.7422 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.2307, allocations: 4 kB / 0.7422 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002499/0.231, allocations: 243.2 kB / 0.7424 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.231, allocations: 3.938 kB / 0.7424 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000326/0.2313, allocations: 75.78 kB / 0.7425 GB, free: 3.133 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001272/0.2315, allocations: 103.2 kB / 0.7426 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004672/0.2319, allocations: 187.7 kB / 0.7428 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2319, allocations: 0 / 0.7428 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2321, allocations: 102 kB / 0.7429 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.2326, allocations: 88.45 kB / 0.743 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.234, allocations: 0.7317 MB / 0.7437 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.2344, allocations: 0.7912 MB / 0.7445 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.353e-05/0.2345, allocations: 27.44 kB / 0.7445 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.2345, allocations: 0 / 0.7445 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of Templates: time 0.007384/0.2419, allocations: 4.272 MB / 0.7486 GB, free: 12.8 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.75844107591547] Failed to read output from testmodel.py, exit status != 0: 0.2510270120110363 0.6317800029999999 0.043475074 Calling exit ...