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.001359/0.001359, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001655/0.001655, allocations: 205.3 kB / 23.74 MB, free: 4.543 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 7.777 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.9526/0.9526, allocations: 149.9 MB / 463.8 MB, free: 10.35 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.002037/0.002037, allocations: 74.95 kB / 0.6423 GB, free: 9.656 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1912, allocations: 89.18 MB / 0.7294 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004392/0.1956, allocations: 2.795 MB / 0.7321 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1973, allocations: 0.9314 MB / 0.733 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.1975, allocations: 15.88 kB / 0.733 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.1978, allocations: 71.27 kB / 0.7331 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.198, allocations: 99.16 kB / 0.7332 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005524/0.1985, allocations: 222.8 kB / 0.7334 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005404/0.1991, allocations: 0.4914 MB / 0.7339 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.1994, allocations: 146.1 kB / 0.734 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002972/0.1997, allocations: 187.2 kB / 0.7342 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.1999, allocations: 167 kB / 0.7344 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.827e-05/0.2, allocations: 44 kB / 0.7344 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.2, allocations: 52 kB / 0.7344 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.2001, allocations: 87.7 kB / 0.7345 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.2003, allocations: 163 kB / 0.7347 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.2009, allocations: 0.5251 MB / 0.7352 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2009, allocations: 0 / 0.7352 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2009, allocations: 0 / 0.7352 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.2009, allocations: 0 / 0.7352 GB, free: 10.54 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.202, allocations: 0.6528 MB / 0.7358 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.202, allocations: 12.03 kB / 0.7358 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.2022, allocations: 60.59 kB / 0.7359 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006192/0.2028, allocations: 345.5 kB / 0.7362 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.2029, allocations: 25.03 kB / 0.7363 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.2029, allocations: 24.38 kB / 0.7363 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.2036, allocations: 418.7 kB / 0.7367 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.2036, allocations: 0 / 0.7367 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.2036, allocations: 12 kB / 0.7367 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.2036, allocations: 12 kB / 0.7367 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004777/0.2041, allocations: 218.5 kB / 0.7369 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.2055, allocations: 0.9616 MB / 0.7378 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.2061, allocations: 226.8 kB / 0.7381 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.2064, allocations: 108.8 kB / 0.7382 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.2064, allocations: 0 / 0.7382 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.2064, allocations: 38.56 kB / 0.7382 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.112e-06/0.2064, allocations: 0 / 0.7382 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0006886/0.2071, allocations: 300.1 kB / 0.7385 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.2072, allocations: 102.8 kB / 0.7386 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003777/0.2075, allocations: 333.7 kB / 0.7389 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.2076, allocations: 29.7 kB / 0.7389 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.2078, allocations: 228.4 kB / 0.7392 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.721e-05/0.2078, allocations: 79.33 kB / 0.7392 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.2079, allocations: 49.7 kB / 0.7393 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001814/0.2081, allocations: 346.8 kB / 0.7396 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.2083, allocations: 75.91 kB / 0.7397 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.2086, allocations: 211 kB / 0.7399 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003954/0.209, allocations: 205.2 kB / 0.7401 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.209, allocations: 3.938 kB / 0.7401 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000545/0.2095, allocations: 289.1 kB / 0.7404 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.2095, allocations: 4 kB / 0.7404 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.2095, allocations: 4 kB / 0.7404 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.2095, allocations: 0 / 0.7404 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.2098, allocations: 55.91 kB / 0.7404 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2098, allocations: 0 / 0.7404 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.21, allocations: 36 kB / 0.7405 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.21, allocations: 12 kB / 0.7405 GB, free: 4.852 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.0001795/0.2102, allocations: 161.8 kB / 0.7406 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.2102, allocations: 39.7 kB / 0.7407 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.239e-05/0.2103, allocations: 39.38 kB / 0.7407 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2103, allocations: 0 / 0.7407 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2103, allocations: 0 / 0.7407 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2103, allocations: 0 / 0.7407 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.2107, allocations: 281.1 kB / 0.741 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2107, allocations: 0 / 0.741 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.2109, allocations: 55.84 kB / 0.741 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2109, allocations: 0 / 0.741 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.211, allocations: 4 kB / 0.741 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.211, allocations: 0 / 0.741 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.211, allocations: 0 / 0.741 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.2117, allocations: 429 kB / 0.7414 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.2118, allocations: 51.77 kB / 0.7415 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.2118, allocations: 4.062 kB / 0.7415 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.212, allocations: 23.98 kB / 0.7415 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.212, allocations: 19.97 kB / 0.7415 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.2121, allocations: 7.984 kB / 0.7415 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002494/0.2123, allocations: 235.1 kB / 0.7418 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2123, allocations: 0 / 0.7418 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003146/0.2126, allocations: 71.78 kB / 0.7418 GB, free: 3.402 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.000114/0.2127, allocations: 99.25 kB / 0.7419 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.2132, allocations: 195.7 kB / 0.7421 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2132, allocations: 0 / 0.7421 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002005/0.2134, allocations: 95.83 kB / 0.7422 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.2139, allocations: 83.19 kB / 0.7423 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.2152, allocations: 0.733 MB / 0.743 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002223/0.2155, allocations: 187.1 kB / 0.7432 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.2156, allocations: 27.44 kB / 0.7432 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of SimCode: time 2.9e-07/0.2156, allocations: 0 / 0.7432 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of Templates: time 0.007817/0.2234, allocations: 4.413 MB / 0.7475 GB, free: 13.55 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.772096653934568] Failed to read output from testmodel.py, exit status != 0: 0.2322217202745378 0.565072155 0.042931116000000005 Calling exit ...