Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.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.001345/0.001345, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001597/0.001597, allocations: 211.2 kB / 23.75 MB, free: 4.445 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.963/0.963, allocations: 149.9 MB / 463.8 MB, free: 10.36 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.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage") [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.002072/0.002072, allocations: 66.23 kB / 0.6423 GB, free: 9.625 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1706, allocations: 89.16 MB / 0.7294 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002113/0.1727, allocations: 0.8784 MB / 0.7302 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.1742, allocations: 1.065 MB / 0.7313 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.1743, allocations: 11.94 kB / 0.7313 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.1744, allocations: 15.8 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.1745, allocations: 43.64 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000401/0.1749, allocations: 139.8 kB / 0.7315 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.1753, allocations: 347.2 kB / 0.7318 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1754, allocations: 21.78 kB / 0.7318 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.1757, allocations: 179.5 kB / 0.732 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.176, allocations: 203.4 kB / 0.7322 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.523e-05/0.1761, allocations: 35.94 kB / 0.7322 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.329e-05/0.1762, allocations: 40 kB / 0.7323 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1763, allocations: 99.75 kB / 0.7324 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.1765, allocations: 119.5 kB / 0.7325 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.1769, allocations: 346.7 kB / 0.7328 GB, free: 13 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1769, allocations: 4 kB / 0.7328 GB, free: 13 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1769, allocations: 0 / 0.7328 GB, free: 13 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.1769, allocations: 0 / 0.7328 GB, free: 13 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.00204/0.1789, allocations: 0.7081 MB / 0.7335 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.179, allocations: 8.031 kB / 0.7335 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002053/0.1792, allocations: 36.78 kB / 0.7335 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007597/0.1799, allocations: 278.1 kB / 0.7338 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/0.18, allocations: 16.38 kB / 0.7338 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.499e-05/0.18, allocations: 32.11 kB / 0.7339 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008335/0.1809, allocations: 339.1 kB / 0.7342 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1809, allocations: 0 / 0.7342 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.1809, allocations: 4 kB / 0.7342 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1809, allocations: 4 kB / 0.7342 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006777/0.1816, allocations: 215.8 kB / 0.7344 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1832, allocations: 0.586 MB / 0.735 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006903/0.1839, allocations: 248.9 kB / 0.7352 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.1844, allocations: 170.1 kB / 0.7354 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.588e-05/0.1844, allocations: 11.98 kB / 0.7354 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007584/0.1852, allocations: 341.5 kB / 0.7357 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.1852, allocations: 0 / 0.7357 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001844/0.187, allocations: 0.6362 MB / 0.7363 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.1871, allocations: 93.09 kB / 0.7364 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.1873, allocations: 210.9 kB / 0.7366 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.1874, allocations: 57.69 kB / 0.7367 GB, free: 8.863 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.535e-05/0.1875, allocations: 125.1 kB / 0.7368 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.858e-05/0.1876, allocations: 83.44 kB / 0.7369 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.1877, allocations: 78.12 kB / 0.7369 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.1879, allocations: 346.8 kB / 0.7373 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.1881, allocations: 112.8 kB / 0.7374 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.1884, allocations: 177.5 kB / 0.7375 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.1888, allocations: 204.9 kB / 0.7377 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.1888, allocations: 4 kB / 0.7377 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006378/0.1895, allocations: 339.8 kB / 0.7381 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1895, allocations: 4 kB / 0.7381 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.1895, allocations: 7.984 kB / 0.7381 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.1895, allocations: 3.938 kB / 0.7381 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.1897, allocations: 43.92 kB / 0.7381 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.1897, allocations: 4 kB / 0.7381 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.1901, allocations: 75.7 kB / 0.7382 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.1901, allocations: 19.97 kB / 0.7382 GB, free: 7.219 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (zerHolTim.y,$PRE.zerHolTim.y,sta.y,$PRE.sta.y,zerHolTim.checkLower,$PRE.zerHolTim.checkLower,zerHolTim.checkUpper,$PRE.zerHolTim.checkUpper,zerHolTim.lowerThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.upperThreshold,zerHolTim.tNext,$PRE.zerHolTim.tNext,sta.checkLower,$PRE.sta.checkLower,sta.checkUpper,$PRE.sta.checkUpper,sta.lowerThreshold,$PRE.sta.lowerThreshold,sta.upperThreshold,$PRE.sta.upperThreshold,sta.tNext,$PRE.sta.tNext,$whenCondition3,$whenCondition4,lesHolTim.y,$PRE.lesHolTim.y,sta1.y,$PRE.sta1.y,lesHolTim.checkLower,$PRE.lesHolTim.checkLower,lesHolTim.checkUpper,$PRE.lesHolTim.checkUpper,lesHolTim.lowerThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.upperThreshold,lesHolTim.tNext,$PRE.lesHolTim.tNext,sta1.checkLower,$PRE.sta1.checkLower,sta1.checkUpper,$PRE.sta1.checkUpper,sta1.lowerThreshold,$PRE.sta1.lowerThreshold,sta1.upperThreshold,$PRE.sta1.upperThreshold,sta1.tNext,$PRE.sta1.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001959/0.1903, allocations: 174.9 kB / 0.7384 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.1904, allocations: 23.86 kB / 0.7384 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.829e-05/0.1904, allocations: 33.45 kB / 0.7384 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.1905, allocations: 4 kB / 0.7385 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1905, allocations: 0 / 0.7385 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1905, allocations: 0 / 0.7385 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.1907, allocations: 205 kB / 0.7386 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1907, allocations: 4 kB / 0.7386 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.659e-05/0.1908, allocations: 11.98 kB / 0.7387 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1908, allocations: 0 / 0.7387 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.694e-05/0.1908, allocations: 15.97 kB / 0.7387 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.1908, allocations: 0 / 0.7387 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1908, allocations: 7.938 kB / 0.7387 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.1921, allocations: 0.511 MB / 0.7392 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.5e-05/0.1921, allocations: 27.75 kB / 0.7392 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.1922, allocations: 16 kB / 0.7392 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.1926, allocations: 75.88 kB / 0.7393 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.1928, allocations: 75.86 kB / 0.7394 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.1928, allocations: 19.97 kB / 0.7394 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001346/0.193, allocations: 152.2 kB / 0.7395 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.193, allocations: 0 / 0.7395 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002974/0.1933, allocations: 59.94 kB / 0.7396 GB, free: 5.758 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$whenCondition3,sta.y,sta.tNext,sta.upperThreshold,sta.lowerThreshold,sta.checkUpper,sta.checkLower,zerHolTim.y,zerHolTim.tNext,zerHolTim.upperThreshold,zerHolTim.lowerThreshold,zerHolTim.checkUpper,zerHolTim.checkLower,$whenCondition2,$whenCondition1,sta1.y,sta1.tNext,sta1.upperThreshold,sta1.lowerThreshold,sta1.checkUpper,sta1.checkLower,lesHolTim.y,lesHolTim.tNext,lesHolTim.upperThreshold,lesHolTim.lowerThreshold,lesHolTim.checkUpper,lesHolTim.checkLower) * Number of discrete states: 20 (sta1.lowerThreshold,lesHolTim.lowerThreshold,lesHolTim.checkLower,lesHolTim.checkUpper,lesHolTim.upperThreshold,sta1.checkLower,sta1.checkUpper,sta1.upperThreshold,sta1.tNext,lesHolTim.tNext,sta.lowerThreshold,zerHolTim.lowerThreshold,zerHolTim.checkLower,zerHolTim.checkUpper,zerHolTim.upperThreshold,sta.checkLower,sta.checkUpper,sta.upperThreshold,sta.tNext,zerHolTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0001784/0.1935, allocations: 138.9 kB / 0.7397 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008872/0.1943, allocations: 346.4 kB / 0.7401 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1943, allocations: 256 / 0.7401 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005693/0.1949, allocations: 199.7 kB / 0.7402 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.1954, allocations: 67.88 kB / 0.7403 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.1967, allocations: 0.5662 MB / 0.7409 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.1968, allocations: 132.9 kB / 0.741 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.1969, allocations: 47.39 kB / 0.741 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.1969, allocations: 0 / 0.741 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of Templates: time 0.006775/0.2037, allocations: 4.152 MB / 0.7451 GB, free: 100 kB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.357700125779957] Failed to read output from testmodel.py, exit status != 0: 0.21399844717234373 0.23827629499999994 0.056737977 Calling exit ...