Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.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.002029/0.002029, allocations: 114.6 kB / 19.59 MB, free: 2.301 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.002468/0.002468, allocations: 197.4 kB / 22.86 MB, free: 5.645 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.486/1.486, allocations: 225.6 MB / 251.5 MB, free: 13.05 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 1.017/1.017, allocations: 149.5 MB / 456.3 MB, free: 1.27 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.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 63.83 kB / 0.6324 GB, free: 9.145 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1974, allocations: 87.89 MB / 0.7182 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002041/0.1994, allocations: 0.6708 MB / 0.7189 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001718/0.2012, allocations: 1.209 MB / 0.7201 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.616e-05/0.2012, allocations: 0 / 0.7201 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.2012, allocations: 7.922 kB / 0.7201 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.017e-05/0.2013, allocations: 11.88 kB / 0.7201 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.2021, allocations: 221.7 kB / 0.7203 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.2024, allocations: 179.7 kB / 0.7205 GB, free: 14.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.2025, allocations: 15.92 kB / 0.7205 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.2026, allocations: 67.89 kB / 0.7205 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.2028, allocations: 71.78 kB / 0.7206 GB, free: 14.73 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.2028, allocations: 16 kB / 0.7206 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.37e-05/0.2029, allocations: 20 kB / 0.7206 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.203, allocations: 19.91 kB / 0.7207 GB, free: 14.68 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.57e-05/0.203, allocations: 63.83 kB / 0.7207 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002832/0.2033, allocations: 151.6 kB / 0.7209 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.2033, allocations: 4 kB / 0.7209 GB, free: 14.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.634e-06/0.2033, allocations: 0 / 0.7209 GB, free: 14.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.2034, allocations: 0 / 0.7209 GB, free: 14.46 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006005/0.204, allocations: 361.5 kB / 0.7212 GB, free: 14.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.204, allocations: 8.625 kB / 0.7212 GB, free: 14.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.76e-05/0.2041, allocations: 8.938 kB / 0.7212 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2042, allocations: 118.4 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.2042, allocations: 4.375 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.2043, allocations: 16.38 kB / 0.7214 GB, free: 13.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.2044, allocations: 57.55 kB / 0.7214 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2044, allocations: 0 / 0.7214 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.2044, allocations: 7.938 kB / 0.7214 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2044, allocations: 0 / 0.7214 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.2045, allocations: 15.98 kB / 0.7214 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006038/0.2051, allocations: 323.8 kB / 0.7217 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.2052, allocations: 38.5 kB / 0.7218 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.2052, allocations: 16.86 kB / 0.7218 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.2052, allocations: 0 / 0.7218 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001806/0.2054, allocations: 103.4 kB / 0.7219 GB, free: 13.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.2054, allocations: 0 / 0.7219 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=9): time 0.0003394/0.2057, allocations: 129.5 kB / 0.722 GB, free: 13.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.2058, allocations: 51.41 kB / 0.7221 GB, free: 13.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/0.2059, allocations: 129.8 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.401e-05/0.206, allocations: 33.7 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.765e-05/0.2061, allocations: 92.33 kB / 0.7223 GB, free: 12.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.2061, allocations: 19.84 kB / 0.7223 GB, free: 12.78 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2062, allocations: 49.69 kB / 0.7224 GB, free: 12.72 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2063, allocations: 326.8 kB / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.2065, allocations: 63.95 kB / 0.7228 GB, free: 12.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/0.2067, allocations: 109.9 kB / 0.7229 GB, free: 12.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002573/0.2069, allocations: 181.3 kB / 0.723 GB, free: 11.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2069, allocations: 4 kB / 0.723 GB, free: 11.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00059/0.2075, allocations: 288.8 kB / 0.7233 GB, free: 11.69 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.555e-05/0.2076, allocations: 67.39 kB / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.2076, allocations: 4 kB / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.2076, allocations: 0 / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.996e-05/0.2077, allocations: 7.984 kB / 0.7234 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.2077, allocations: 4 kB / 0.7234 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.2081, allocations: 59.98 kB / 0.7234 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.2082, allocations: 19.98 kB / 0.7235 GB, free: 11.52 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001544/0.2083, allocations: 127 kB / 0.7236 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.2083, allocations: 4 kB / 0.7236 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.2084, allocations: 8.375 kB / 0.7236 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.2084, allocations: 0 / 0.7236 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.2084, allocations: 8 kB / 0.7236 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.2084, allocations: 3.984 kB / 0.7236 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004764/0.2089, allocations: 333.5 kB / 0.7239 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2089, allocations: 0 / 0.7239 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.2089, allocations: 0 / 0.7239 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2089, allocations: 0 / 0.7239 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2089, allocations: 8 kB / 0.7239 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.2089, allocations: 7.922 kB / 0.7239 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.2089, allocations: 4.406 kB / 0.7239 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.2091, allocations: 191.5 kB / 0.7241 GB, free: 10.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.2092, allocations: 19.83 kB / 0.7241 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.2092, allocations: 0 / 0.7241 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.021e-05/0.2092, allocations: 4 kB / 0.7242 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.2093, allocations: 7.922 kB / 0.7242 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.2093, allocations: 11.98 kB / 0.7242 GB, free: 10.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.354e-05/0.2094, allocations: 87.28 kB / 0.7243 GB, free: 10.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2094, allocations: 0 / 0.7243 GB, free: 10.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003277/0.2097, allocations: 39.98 kB / 0.7243 GB, free: 10.59 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001696/0.2099, allocations: 99.25 kB / 0.7244 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000429/0.2103, allocations: 230.6 kB / 0.7246 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.2103, allocations: 0 / 0.7246 GB, free: 10.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.084e-05/0.2104, allocations: 27.97 kB / 0.7246 GB, free: 10.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.2107, allocations: 20.3 kB / 0.7247 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.2111, allocations: 174.5 kB / 0.7248 GB, free: 9.992 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.2114, allocations: 0.6846 MB / 0.7255 GB, free: 9.281 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.747e-05/0.2115, allocations: 12.66 kB / 0.7255 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.2115, allocations: 11.44 kB / 0.7255 GB, free: 9.258 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.2115, allocations: 3.938 kB / 0.7255 GB, free: 9.254 MB / 0.545 GB Notification: Performance of Templates: time 0.005845/0.2173, allocations: 1.966 MB / 0.7274 GB, free: 7.316 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.957178515382111] Failed to read output from testmodel.py, exit status != 0: 0.2272444535046816 0.24950367899999995 0.041814603000000006 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f6ee8aa97b0>