Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 114.6 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 188.7 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8931/0.8931, allocations: 149.6 MB / 456.6 MB, free: 1.176 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 62.83 kB / 0.6328 GB, free: 9.012 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1719, allocations: 87.89 MB / 0.7186 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.006041/0.1779, allocations: 4.133 MB / 0.7227 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.1806, allocations: 1.329 MB / 0.724 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005811/0.1812, allocations: 31.81 kB / 0.724 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004477/0.1817, allocations: 130.7 kB / 0.7241 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005777/0.1822, allocations: 186.4 kB / 0.7243 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.1833, allocations: 429 kB / 0.7247 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001281/0.1845, allocations: 0.9593 MB / 0.7257 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.1851, allocations: 298.7 kB / 0.7259 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.1856, allocations: 354.7 kB / 0.7263 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.1862, allocations: 342.4 kB / 0.7266 GB, free: 8.836 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.1863, allocations: 88 kB / 0.7267 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1865, allocations: 92 kB / 0.7268 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.1867, allocations: 175.4 kB / 0.7269 GB, free: 8.488 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.1871, allocations: 390.1 kB / 0.7273 GB, free: 8.105 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.1884, allocations: 1.07 MB / 0.7284 GB, free: 7.031 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1884, allocations: 0 / 0.7284 GB, free: 7.031 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.1884, allocations: 0 / 0.7284 GB, free: 7.031 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.846e-05/0.1884, allocations: 0 / 0.7284 GB, free: 7.031 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002389/0.1908, allocations: 1.072 MB / 0.7294 GB, free: 5.914 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1909, allocations: 12.62 kB / 0.7294 GB, free: 5.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.191, allocations: 92.38 kB / 0.7295 GB, free: 5.812 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.1921, allocations: 0.5115 MB / 0.73 GB, free: 5.273 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.521e-05/0.1921, allocations: 45.69 kB / 0.73 GB, free: 5.23 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.1922, allocations: 56.38 kB / 0.7301 GB, free: 5.176 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.1934, allocations: 0.6078 MB / 0.7307 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.1934, allocations: 0 / 0.7307 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.618e-05/0.1935, allocations: 28 kB / 0.7307 GB, free: 4.516 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.1935, allocations: 15.98 kB / 0.7307 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.1945, allocations: 453 kB / 0.7312 GB, free: 4.059 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003091/0.1976, allocations: 1.947 MB / 0.7331 GB, free: 2.047 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009186/0.1986, allocations: 425.8 kB / 0.7335 GB, free: 1.625 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.199, allocations: 237.9 kB / 0.7337 GB, free: 1.391 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.1991, allocations: 8.422 kB / 0.7337 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005338/0.1996, allocations: 261.3 kB / 0.734 GB, free: 1.117 MB / 0.545 GB Notification: Performance of pre-optimization done (n=49): time 1.924e-06/0.1996, allocations: 0 / 0.734 GB, free: 1.117 MB / 0.545 GB Notification: Performance of matching and sorting (n=49): time 0.001328/0.2009, allocations: 0.5885 MB / 0.7345 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.201, allocations: 55.84 kB / 0.7346 GB, free: 464 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005181/0.2015, allocations: 442 kB / 0.735 GB, free: 12 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.476e-05/0.2015, allocations: 41.69 kB / 0.7351 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002567/0.2018, allocations: 325.6 kB / 0.7354 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000156/0.202, allocations: 174.5 kB / 0.7355 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.2021, allocations: 94.3 kB / 0.7356 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001859/0.2023, allocations: 362.8 kB / 0.736 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.2027, allocations: 169.2 kB / 0.7361 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004509/0.2031, allocations: 250.7 kB / 0.7364 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008403/0.204, allocations: 451 kB / 0.7368 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.204, allocations: 0 / 0.7368 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001067/0.205, allocations: 0.5612 MB / 0.7373 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.2051, allocations: 41.64 kB / 0.7374 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2051, allocations: 4 kB / 0.7374 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.2051, allocations: 8.234 kB / 0.7374 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.2056, allocations: 115.8 kB / 0.7375 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.2056, allocations: 4 kB / 0.7375 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.2059, allocations: 59.64 kB / 0.7376 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.41e-05/0.206, allocations: 16 kB / 0.7376 GB, free: 13.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002532/0.2062, allocations: 211.2 kB / 0.7378 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.2063, allocations: 59.56 kB / 0.7378 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.2064, allocations: 65.58 kB / 0.7379 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.2064, allocations: 8 kB / 0.7379 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2064, allocations: 0 / 0.7379 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2064, allocations: 3.984 kB / 0.7379 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001761/0.2082, allocations: 1.15 MB / 0.739 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2082, allocations: 0 / 0.739 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004509/0.2086, allocations: 95.89 kB / 0.7391 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.2086, allocations: 3.938 kB / 0.7391 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.2087, allocations: 15.98 kB / 0.7391 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2087, allocations: 4 kB / 0.7391 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2087, allocations: 0 / 0.7391 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.21, allocations: 0.769 MB / 0.7399 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.2102, allocations: 95.56 kB / 0.74 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.2102, allocations: 11.94 kB / 0.74 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.2105, allocations: 27.97 kB / 0.74 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.2106, allocations: 32.38 kB / 0.7401 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.2106, allocations: 12 kB / 0.7401 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003532/0.211, allocations: 314.9 kB / 0.7404 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.211, allocations: 0 / 0.7404 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004214/0.2114, allocations: 147.6 kB / 0.7405 GB, free: 10.2 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001252/0.2115, allocations: 107.2 kB / 0.7406 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009284/0.2125, allocations: 469.1 kB / 0.7411 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2125, allocations: 0 / 0.7411 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004131/0.2129, allocations: 202.4 kB / 0.7413 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000706/0.2136, allocations: 157.8 kB / 0.7414 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.2162, allocations: 1.361 MB / 0.7427 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.2167, allocations: 0.89 MB / 0.7436 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002244/0.2169, allocations: 60.59 kB / 0.7437 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.217, allocations: 39.42 kB / 0.7437 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.217, allocations: 0 / 0.7437 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of Templates: time 0.01184/0.2289, allocations: 6.299 MB / 0.7499 GB, free: 0.6445 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.508944628760219] Failed to read output from testmodel.py, exit status != 0: 0.480743819847703 0.490982038 0.30038025500000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd7627c17b0>