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.001472/0.001472, 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.001533/0.001533, allocations: 216.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.591/1.591, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9825/0.9825, allocations: 149.9 MB / 463 MB, free: 10.34 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.00206/0.00206, allocations: 70.8 kB / 0.6415 GB, free: 9.633 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2046, allocations: 89.16 MB / 0.7286 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004585/0.2092, allocations: 2.81 MB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001853/0.211, allocations: 0.9314 MB / 0.7323 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.2112, allocations: 15.88 kB / 0.7323 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002123/0.2115, allocations: 67.27 kB / 0.7323 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.2116, allocations: 99.17 kB / 0.7324 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.2121, allocations: 225.6 kB / 0.7326 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.2126, allocations: 495.2 kB / 0.7331 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.2129, allocations: 142.2 kB / 0.7333 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.2132, allocations: 199.1 kB / 0.7334 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.2134, allocations: 162.9 kB / 0.7336 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.094e-05/0.2135, allocations: 44 kB / 0.7336 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.373e-05/0.2136, allocations: 56 kB / 0.7337 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.627e-05/0.2136, allocations: 91.67 kB / 0.7338 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001441/0.2138, allocations: 159.1 kB / 0.7339 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005975/0.2144, allocations: 0.5173 MB / 0.7344 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2144, allocations: 0 / 0.7344 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2144, allocations: 0 / 0.7344 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.2144, allocations: 0 / 0.7344 GB, free: 10.53 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.001127/0.2155, allocations: 0.6606 MB / 0.7351 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2156, allocations: 8.031 kB / 0.7351 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/0.2158, allocations: 64.59 kB / 0.7351 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006582/0.2164, allocations: 337.5 kB / 0.7355 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.2165, allocations: 29.03 kB / 0.7355 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.2165, allocations: 28.38 kB / 0.7355 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006294/0.2171, allocations: 426.7 kB / 0.7359 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.2172, allocations: 0 / 0.7359 GB, free: 8.895 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.2172, allocations: 16 kB / 0.7359 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2172, allocations: 4 kB / 0.736 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004752/0.2177, allocations: 214.5 kB / 0.7362 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.2191, allocations: 0.9655 MB / 0.7371 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.2197, allocations: 225 kB / 0.7373 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.2199, allocations: 108.8 kB / 0.7374 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.22, allocations: 7.938 kB / 0.7374 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.22, allocations: 30.56 kB / 0.7375 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.322e-06/0.22, allocations: 0 / 0.7375 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0006658/0.2207, allocations: 294.4 kB / 0.7377 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.827e-05/0.2208, allocations: 106.8 kB / 0.7378 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003597/0.2211, allocations: 333.7 kB / 0.7382 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.2211, allocations: 33.7 kB / 0.7382 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.2213, allocations: 220.5 kB / 0.7384 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.2214, allocations: 83.31 kB / 0.7385 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.219e-05/0.2215, allocations: 49.7 kB / 0.7385 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2216, allocations: 346.8 kB / 0.7389 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.2218, allocations: 75.97 kB / 0.7389 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.2221, allocations: 207 kB / 0.7391 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003714/0.2224, allocations: 205.2 kB / 0.7393 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.2224, allocations: 0 / 0.7393 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004904/0.2229, allocations: 289.1 kB / 0.7396 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2229, allocations: 11.94 kB / 0.7396 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.223, allocations: 0 / 0.7396 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.223, allocations: 4 kB / 0.7396 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.2232, allocations: 51.91 kB / 0.7397 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.2232, allocations: 4 kB / 0.7397 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.2234, allocations: 31.81 kB / 0.7397 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.2234, allocations: 15.98 kB / 0.7397 GB, free: 4.832 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.0001624/0.2235, allocations: 162 kB / 0.7399 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.496e-05/0.2236, allocations: 39.7 kB / 0.7399 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.992e-05/0.2237, allocations: 35.38 kB / 0.7399 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2237, allocations: 4 kB / 0.7399 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2237, allocations: 0 / 0.7399 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2237, allocations: 0 / 0.7399 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003544/0.2241, allocations: 281 kB / 0.7402 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.2241, allocations: 8 kB / 0.7402 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.2243, allocations: 47.84 kB / 0.7403 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2243, allocations: 8 kB / 0.7403 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.2243, allocations: 0 / 0.7403 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2243, allocations: 0 / 0.7403 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2243, allocations: 4 kB / 0.7403 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.225, allocations: 429.5 kB / 0.7407 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.2251, allocations: 51.77 kB / 0.7407 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.2252, allocations: 8 kB / 0.7407 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.2253, allocations: 20.05 kB / 0.7408 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.2254, allocations: 15.97 kB / 0.7408 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.2254, allocations: 7.984 kB / 0.7408 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002409/0.2256, allocations: 231.2 kB / 0.741 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2256, allocations: 3.938 kB / 0.741 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003037/0.226, allocations: 71.83 kB / 0.7411 GB, free: 3.379 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.0001141/0.2261, allocations: 99.25 kB / 0.7412 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004467/0.2265, allocations: 191.7 kB / 0.7414 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2265, allocations: 0 / 0.7414 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.2267, allocations: 97.58 kB / 0.7414 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.2272, allocations: 69.33 kB / 0.7415 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.2284, allocations: 0.7186 MB / 0.7422 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/0.2286, allocations: 187.1 kB / 0.7424 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001367/0.2288, allocations: 34.97 kB / 0.7424 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.2288, allocations: 27.42 kB / 0.7425 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2288, allocations: 0 / 0.7425 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of Templates: time 0.008096/0.2369, allocations: 3.641 MB / 0.746 GB, free: 14.36 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: 5.986686943098903] Failed to read output from testmodel.py, exit status != 0: 0.24699070863425732 0.26081599699999997 0.04362832099999994 Calling exit ...