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.001348/0.001348, allocations: 105 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.001499/0.001499, 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 7.953 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.9881/0.9881, allocations: 150 MB / 463.9 MB, free: 10.55 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.002284/0.002284, allocations: 72.64 kB / 0.6425 GB, free: 9.977 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1967, allocations: 89.16 MB / 0.7296 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage): time 0.00321/0.1999, allocations: 0.9278 MB / 0.7305 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002118/0.202, allocations: 1.081 MB / 0.7315 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001603/0.2022, allocations: 3.938 kB / 0.7315 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.2023, allocations: 15.81 kB / 0.7316 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.2025, allocations: 47.62 kB / 0.7316 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005555/0.2031, allocations: 139.7 kB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005029/0.2036, allocations: 351.3 kB / 0.7321 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.2037, allocations: 21.78 kB / 0.7321 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.2042, allocations: 175.6 kB / 0.7323 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.2046, allocations: 219.4 kB / 0.7325 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.2047, allocations: 32 kB / 0.7325 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.2048, allocations: 40 kB / 0.7325 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.205, allocations: 107.8 kB / 0.7326 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.2052, allocations: 135.4 kB / 0.7328 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004793/0.2056, allocations: 342.8 kB / 0.7331 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2057, allocations: 0 / 0.7331 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2057, allocations: 0 / 0.7331 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.2057, allocations: 0 / 0.7331 GB, free: 13.25 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.002202/0.2079, allocations: 0.7003 MB / 0.7338 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2079, allocations: 12.03 kB / 0.7338 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.2081, allocations: 36.78 kB / 0.7338 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000789/0.2089, allocations: 282.1 kB / 0.7341 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.209, allocations: 16.38 kB / 0.7341 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.295e-05/0.2091, allocations: 28.12 kB / 0.7341 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008381/0.2099, allocations: 339.1 kB / 0.7345 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.2099, allocations: 3.938 kB / 0.7345 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.702e-05/0.2099, allocations: 11.98 kB / 0.7345 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2099, allocations: 0 / 0.7345 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006963/0.2106, allocations: 215.8 kB / 0.7347 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.2124, allocations: 0.6829 MB / 0.7353 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006897/0.2131, allocations: 245 kB / 0.7356 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005124/0.2136, allocations: 170.1 kB / 0.7357 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.2136, allocations: 8 kB / 0.7358 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007627/0.2144, allocations: 345.4 kB / 0.7361 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=30): time 1.643e-06/0.2144, allocations: 3.938 kB / 0.7361 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30): time 0.001807/0.2162, allocations: 0.6368 MB / 0.7367 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.471e-05/0.2163, allocations: 93.09 kB / 0.7368 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.2165, allocations: 218.9 kB / 0.737 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.2166, allocations: 53.69 kB / 0.7371 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.2167, allocations: 125.1 kB / 0.7372 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.783e-05/0.2168, allocations: 83.45 kB / 0.7373 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.2169, allocations: 74.12 kB / 0.7373 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.217, allocations: 338.8 kB / 0.7376 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/0.2173, allocations: 116.8 kB / 0.7378 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.2176, allocations: 181.4 kB / 0.7379 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.2179, allocations: 200 kB / 0.7381 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2179, allocations: 0 / 0.7381 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006094/0.2185, allocations: 339.7 kB / 0.7384 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.2186, allocations: 7.984 kB / 0.7385 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2186, allocations: 0 / 0.7385 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.2186, allocations: 4 kB / 0.7385 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.2188, allocations: 44.05 kB / 0.7385 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.2188, allocations: 11.94 kB / 0.7385 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/0.2192, allocations: 75.64 kB / 0.7386 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.078e-05/0.2192, allocations: 19.98 kB / 0.7386 GB, free: 7.359 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.0001917/0.2194, allocations: 167 kB / 0.7388 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.123e-05/0.2194, allocations: 23.86 kB / 0.7388 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.2195, allocations: 37.45 kB / 0.7388 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.2195, allocations: 4 kB / 0.7388 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.2195, allocations: 0 / 0.7388 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.046e-06/0.2195, allocations: 7.922 kB / 0.7388 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003104/0.2198, allocations: 272.5 kB / 0.7391 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.2198, allocations: 0 / 0.7391 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.893e-05/0.2199, allocations: 15.92 kB / 0.7391 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2199, allocations: 0 / 0.7391 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.22, allocations: 19.97 kB / 0.7391 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.22, allocations: 0 / 0.7391 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.22, allocations: 4 kB / 0.7391 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.2212, allocations: 0.5187 MB / 0.7396 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.604e-05/0.2213, allocations: 23.81 kB / 0.7397 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.433e-05/0.2213, allocations: 15.98 kB / 0.7397 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.2218, allocations: 75.91 kB / 0.7397 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.222, allocations: 87.67 kB / 0.7398 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.222, allocations: 19.97 kB / 0.7398 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001445/0.2222, allocations: 148.2 kB / 0.74 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2222, allocations: 0 / 0.74 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003082/0.2225, allocations: 67.92 kB / 0.7401 GB, free: 5.793 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.0001878/0.2227, allocations: 131 kB / 0.7402 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00091/0.2236, allocations: 347.3 kB / 0.7405 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2236, allocations: 0 / 0.7405 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005694/0.2241, allocations: 190.9 kB / 0.7407 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.2246, allocations: 71.98 kB / 0.7408 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.226, allocations: 0.5778 MB / 0.7413 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.2264, allocations: 0.7404 MB / 0.7421 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.2265, allocations: 47.41 kB / 0.7421 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.2265, allocations: 0 / 0.7421 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of Templates: time 0.007906/0.2344, allocations: 4.094 MB / 0.7461 GB, free: 15.58 MB / 0.5762 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.34080084390007] Failed to read output from testmodel.py, exit status != 0: 0.24373022885993123 0.25896744 0.050172045000000005 Calling exit ...