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.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.001642/0.001642, allocations: 113.2 kB / 19.59 MB, free: 2.281 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.002044/0.002044, allocations: 193.4 kB / 22.85 MB, free: 5.664 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.482/1.482, allocations: 225.6 MB / 251.5 MB, free: 13.06 MB / 206.1 MB " [Timeout remaining time 178] 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.9852/0.9852, allocations: 149.5 MB / 456.3 MB, free: 1.734 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.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: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 71.64 kB / 0.6324 GB, free: 9.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1961, allocations: 87.87 MB / 0.7182 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Stage): time 0.002465/0.1985, allocations: 0.9184 MB / 0.7191 GB, free: 384 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001612/0.2001, allocations: 1.042 MB / 0.7201 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.2003, allocations: 3.938 kB / 0.7201 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001429/0.2004, allocations: 23.8 kB / 0.7202 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000181/0.2006, allocations: 43.62 kB / 0.7202 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004528/0.201, allocations: 131.7 kB / 0.7203 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.2014, allocations: 347.3 kB / 0.7207 GB, free: 14.78 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2015, allocations: 25.78 kB / 0.7207 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.2018, allocations: 175.5 kB / 0.7208 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.2021, allocations: 215.4 kB / 0.7211 GB, free: 14.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.925e-05/0.2022, allocations: 32 kB / 0.7211 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.912e-05/0.2022, allocations: 36 kB / 0.7211 GB, free: 14.31 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.2024, allocations: 107.8 kB / 0.7212 GB, free: 14.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.2025, allocations: 131.4 kB / 0.7213 GB, free: 14.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003929/0.2029, allocations: 350.7 kB / 0.7217 GB, free: 13.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2029, allocations: 0 / 0.7217 GB, free: 13.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2029, allocations: 0 / 0.7217 GB, free: 13.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.203, allocations: 0 / 0.7217 GB, free: 13.73 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.002223/0.2052, allocations: 0.6965 MB / 0.7224 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2052, allocations: 12.62 kB / 0.7224 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.2053, allocations: 28.78 kB / 0.7224 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008147/0.2061, allocations: 278.1 kB / 0.7227 GB, free: 12.67 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.582e-05/0.2062, allocations: 16.38 kB / 0.7227 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.51e-05/0.2062, allocations: 32.11 kB / 0.7227 GB, free: 12.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008778/0.2071, allocations: 335.1 kB / 0.723 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2071, allocations: 0 / 0.723 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.2072, allocations: 4 kB / 0.723 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2072, allocations: 4 kB / 0.723 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007119/0.2079, allocations: 207.8 kB / 0.7232 GB, free: 12.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/0.2098, allocations: 0.6829 MB / 0.7239 GB, free: 11.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007289/0.2105, allocations: 253 kB / 0.7241 GB, free: 11.07 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.2111, allocations: 169.6 kB / 0.7243 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.2111, allocations: 0 / 0.7243 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008241/0.2119, allocations: 346.7 kB / 0.7246 GB, free: 10.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.2119, allocations: 0 / 0.7246 GB, free: 10.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.002177/0.2141, allocations: 0.64 MB / 0.7253 GB, free: 9.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.229e-05/0.2142, allocations: 93.09 kB / 0.7253 GB, free: 9.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.2144, allocations: 210.7 kB / 0.7255 GB, free: 9.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.69e-05/0.2145, allocations: 57.69 kB / 0.7256 GB, free: 9.508 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.2146, allocations: 125.1 kB / 0.7257 GB, free: 9.383 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.2147, allocations: 79.45 kB / 0.7258 GB, free: 9.305 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.2148, allocations: 86.12 kB / 0.7259 GB, free: 9.215 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.215, allocations: 342.8 kB / 0.7262 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.2153, allocations: 104.8 kB / 0.7263 GB, free: 8.77 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002974/0.2156, allocations: 173.5 kB / 0.7265 GB, free: 8.586 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.216, allocations: 208.5 kB / 0.7267 GB, free: 8.367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.216, allocations: 0 / 0.7267 GB, free: 8.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000678/0.2167, allocations: 345.4 kB / 0.727 GB, free: 8.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.2167, allocations: 4 kB / 0.727 GB, free: 8.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2167, allocations: 4 kB / 0.727 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.2167, allocations: 4 kB / 0.727 GB, free: 8.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.2169, allocations: 43.91 kB / 0.7271 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.2169, allocations: 4 kB / 0.7271 GB, free: 7.969 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.2173, allocations: 95.7 kB / 0.7272 GB, free: 7.875 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.801e-05/0.2174, allocations: 12 kB / 0.7272 GB, free: 7.863 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.0002349/0.2176, allocations: 170.9 kB / 0.7273 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.2177, allocations: 23.86 kB / 0.7273 GB, free: 7.664 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/0.2177, allocations: 29.45 kB / 0.7274 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.2177, allocations: 4 kB / 0.7274 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.2177, allocations: 4 kB / 0.7274 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2178, allocations: 3.938 kB / 0.7274 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.2181, allocations: 288.3 kB / 0.7277 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2181, allocations: 0 / 0.7277 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.127e-05/0.2181, allocations: 11.98 kB / 0.7277 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2181, allocations: 4 kB / 0.7277 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.719e-05/0.2182, allocations: 11.98 kB / 0.7277 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.2182, allocations: 3.938 kB / 0.7277 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2182, allocations: 0 / 0.7277 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001341/0.2195, allocations: 0.5202 MB / 0.7282 GB, free: 6.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.004e-05/0.2196, allocations: 23.8 kB / 0.7282 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/0.2197, allocations: 19.98 kB / 0.7282 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.2202, allocations: 59.91 kB / 0.7283 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001937/0.2204, allocations: 95.78 kB / 0.7284 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.2204, allocations: 11.98 kB / 0.7284 GB, free: 6.523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001439/0.2205, allocations: 152.4 kB / 0.7285 GB, free: 6.375 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2205, allocations: 3.938 kB / 0.7286 GB, free: 6.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003179/0.2208, allocations: 56 kB / 0.7286 GB, free: 6.316 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.0002291/0.2211, allocations: 130.9 kB / 0.7287 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0009665/0.222, allocations: 336.2 kB / 0.7291 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.222, allocations: 4 kB / 0.7291 GB, free: 5.848 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006415/0.2227, allocations: 196 kB / 0.7292 GB, free: 5.656 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.2232, allocations: 85.86 kB / 0.7293 GB, free: 5.574 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2247, allocations: 0.545 MB / 0.7299 GB, free: 4.996 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.2251, allocations: 0.7405 MB / 0.7306 GB, free: 4.227 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001775/0.2252, allocations: 38.97 kB / 0.7306 GB, free: 4.188 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.2254, allocations: 43.41 kB / 0.7307 GB, free: 4.145 MB / 0.545 GB Notification: Performance of SimCode: time 8.51e-07/0.2254, allocations: 0 / 0.7307 GB, free: 4.145 MB / 0.545 GB Notification: Performance of Templates: time 0.01272/0.2381, allocations: 5.979 MB / 0.7365 GB, free: 14.22 MB / 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: 6.120435683988035] Failed to read output from testmodel.py, exit status != 0: 0.24798670317977667 0.264503658 0.057541654000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f51d21dd7b0>