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.001677/0.001677, allocations: 109.7 kB / 17.12 MB, free: 5.926 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.001492/0.001492, allocations: 204 kB / 20.09 MB, free: 2.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.481/1.481, allocations: 230.6 MB / 253.5 MB, free: 15.07 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 1.009/1.009, allocations: 150 MB / 459.5 MB, free: 5.695 MB / 350.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.002003/0.002003, allocations: 62.44 kB / 0.6366 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2007, allocations: 89.14 MB / 0.7236 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002615/0.2033, allocations: 0.9178 MB / 0.7245 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001777/0.2051, allocations: 1.079 MB / 0.7256 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2052, allocations: 3.938 kB / 0.7256 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.2054, allocations: 15.75 kB / 0.7256 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.2056, allocations: 51.62 kB / 0.7257 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005157/0.2061, allocations: 131.7 kB / 0.7258 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004708/0.2066, allocations: 343.3 kB / 0.7261 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.2067, allocations: 21.66 kB / 0.7261 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.207, allocations: 183.5 kB / 0.7263 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.2074, allocations: 207.4 kB / 0.7265 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.327e-05/0.2074, allocations: 36 kB / 0.7265 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.8e-05/0.2075, allocations: 40 kB / 0.7266 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.2077, allocations: 99.75 kB / 0.7267 GB, free: 412 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.2078, allocations: 131.4 kB / 0.7268 GB, free: 280 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.2083, allocations: 346.7 kB / 0.7271 GB, free: 15.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2083, allocations: 0 / 0.7271 GB, free: 15.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.044e-06/0.2083, allocations: 4 kB / 0.7271 GB, free: 15.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2083, allocations: 0 / 0.7271 GB, free: 15.93 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002266/0.2106, allocations: 0.7774 MB / 0.7279 GB, free: 15.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2106, allocations: 12.02 kB / 0.7279 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.2108, allocations: 36.8 kB / 0.7279 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007871/0.2116, allocations: 340 kB / 0.7283 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/0.2117, allocations: 16.38 kB / 0.7283 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.2117, allocations: 32.11 kB / 0.7283 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008504/0.2126, allocations: 343.5 kB / 0.7286 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2126, allocations: 0 / 0.7286 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.163e-05/0.2126, allocations: 19.91 kB / 0.7286 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2126, allocations: 0 / 0.7286 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006979/0.2133, allocations: 215.8 kB / 0.7289 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.2151, allocations: 0.7034 MB / 0.7295 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000723/0.2158, allocations: 255.5 kB / 0.7298 GB, free: 13.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.2164, allocations: 170.1 kB / 0.7299 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.2164, allocations: 8 kB / 0.73 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007817/0.2172, allocations: 336.7 kB / 0.7303 GB, free: 12.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.2172, allocations: 3.938 kB / 0.7303 GB, free: 12.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.001912/0.2191, allocations: 0.6408 MB / 0.7309 GB, free: 11.86 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.111e-05/0.2192, allocations: 93.09 kB / 0.731 GB, free: 11.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.2194, allocations: 214.7 kB / 0.7312 GB, free: 11.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.75e-05/0.2195, allocations: 53.69 kB / 0.7312 GB, free: 11.47 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2196, allocations: 125.1 kB / 0.7314 GB, free: 11.35 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.658e-05/0.2197, allocations: 87.44 kB / 0.7315 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.2198, allocations: 74.12 kB / 0.7315 GB, free: 11.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.22, allocations: 338.8 kB / 0.7318 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.2202, allocations: 120.8 kB / 0.732 GB, free: 10.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002914/0.2205, allocations: 177.5 kB / 0.7321 GB, free: 10.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.2209, allocations: 207.5 kB / 0.7323 GB, free: 10.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2209, allocations: 0 / 0.7323 GB, free: 10.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006616/0.2216, allocations: 337 kB / 0.7326 GB, free: 9.984 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.2216, allocations: 4 kB / 0.7327 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.2216, allocations: 8.109 kB / 0.7327 GB, free: 9.973 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.2216, allocations: 7.938 kB / 0.7327 GB, free: 9.965 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.2218, allocations: 47.91 kB / 0.7327 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.2219, allocations: 4 kB / 0.7327 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.2222, allocations: 71.7 kB / 0.7328 GB, free: 9.844 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/0.2223, allocations: 16 kB / 0.7328 GB, free: 9.828 MB / 0.545 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.0002147/0.2225, allocations: 174.9 kB / 0.733 GB, free: 9.648 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.403e-05/0.2225, allocations: 19.86 kB / 0.733 GB, free: 9.629 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.994e-05/0.2226, allocations: 41.5 kB / 0.733 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2226, allocations: 4 kB / 0.733 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.2226, allocations: 0 / 0.733 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.2227, allocations: 3.938 kB / 0.733 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.223, allocations: 305.4 kB / 0.7333 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.223, allocations: 0 / 0.7333 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.707e-05/0.2231, allocations: 15.98 kB / 0.7333 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2231, allocations: 0 / 0.7333 GB, free: 9.211 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.2231, allocations: 11.98 kB / 0.7334 GB, free: 9.199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.2231, allocations: 3.938 kB / 0.7334 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2231, allocations: 0 / 0.7334 GB, free: 9.195 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.2244, allocations: 0.5248 MB / 0.7339 GB, free: 8.648 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.2245, allocations: 92.97 kB / 0.734 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.2246, allocations: 23.92 kB / 0.734 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004921/0.2251, allocations: 75.89 kB / 0.7341 GB, free: 8.441 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.2252, allocations: 75.83 kB / 0.7341 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.2253, allocations: 11.98 kB / 0.7341 GB, free: 8.355 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001324/0.2254, allocations: 152.4 kB / 0.7343 GB, free: 8.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2254, allocations: 4 kB / 0.7343 GB, free: 8.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002945/0.2257, allocations: 67.88 kB / 0.7344 GB, free: 8.137 MB / 0.545 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.0002051/0.2259, allocations: 131.2 kB / 0.7345 GB, free: 8.004 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009478/0.2269, allocations: 346.7 kB / 0.7348 GB, free: 7.668 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2269, allocations: 0 / 0.7348 GB, free: 7.668 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006088/0.2275, allocations: 190 kB / 0.735 GB, free: 7.484 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.228, allocations: 73.5 kB / 0.7351 GB, free: 7.414 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.2294, allocations: 0.5332 MB / 0.7356 GB, free: 6.848 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.2298, allocations: 0.7366 MB / 0.7363 GB, free: 6.086 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001398/0.2299, allocations: 46.95 kB / 0.7363 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.2301, allocations: 47.39 kB / 0.7364 GB, free: 5.996 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.2301, allocations: 0 / 0.7364 GB, free: 5.996 MB / 0.545 GB Notification: Performance of Templates: time 0.01094/0.241, allocations: 5.825 MB / 0.7421 GB, free: 236 kB / 0.545 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: 6.3841564289759845] Failed to read output from testmodel.py, exit status != 0: 0.24870791099965572 0.263785358 0.052354388 Calling exit ...