Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.001775/0.001775, allocations: 105.2 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.002321/0.002321, 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.9672/0.9672, allocations: 150 MB / 463.9 MB, free: 10.51 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.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [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.002278/0.002278, allocations: 67.55 kB / 0.6425 GB, free: 9.926 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.2003, allocations: 89.17 MB / 0.7296 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002167/0.2025, allocations: 0.6624 MB / 0.7302 GB, free: 160 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2043, allocations: 1.186 MB / 0.7314 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.043e-05/0.2043, allocations: 0 / 0.7314 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.2043, allocations: 3.938 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.2044, allocations: 11.88 kB / 0.7314 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.2049, allocations: 151.6 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.2051, allocations: 143.7 kB / 0.7317 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.2052, allocations: 15.98 kB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.655e-05/0.2053, allocations: 51.91 kB / 0.7317 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.2055, allocations: 62.91 kB / 0.7318 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.2055, allocations: 12 kB / 0.7318 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.422e-05/0.2056, allocations: 24 kB / 0.7318 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.2056, allocations: 19.92 kB / 0.7319 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.916e-05/0.2057, allocations: 51.89 kB / 0.7319 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.2059, allocations: 135.5 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2059, allocations: 4 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2059, allocations: 4 kB / 0.732 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.002e-06/0.2059, allocations: 0 / 0.732 GB, free: 14.28 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006656/0.2066, allocations: 343.8 kB / 0.7324 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2066, allocations: 8.031 kB / 0.7324 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.2067, allocations: 8.938 kB / 0.7324 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.207, allocations: 158.6 kB / 0.7325 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.2071, allocations: 12.38 kB / 0.7326 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.2071, allocations: 8.375 kB / 0.7326 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.2073, allocations: 90.12 kB / 0.7326 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2073, allocations: 3.938 kB / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.2073, allocations: 0 / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2073, allocations: 4 kB / 0.7327 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.416e-05/0.2074, allocations: 35.97 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005892/0.208, allocations: 335.6 kB / 0.733 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.2082, allocations: 78.48 kB / 0.7331 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.445e-05/0.2083, allocations: 32.84 kB / 0.7331 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2083, allocations: 3.984 kB / 0.7331 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.2085, allocations: 130.1 kB / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.2085, allocations: 0 / 0.7332 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0003948/0.2089, allocations: 205.6 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.209, allocations: 59.41 kB / 0.7335 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.2091, allocations: 109.8 kB / 0.7336 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.2092, allocations: 33.7 kB / 0.7336 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.2092, allocations: 92.23 kB / 0.7337 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.2093, allocations: 31.78 kB / 0.7338 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.2094, allocations: 49.69 kB / 0.7338 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001978/0.2096, allocations: 322.8 kB / 0.7341 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.2098, allocations: 47.97 kB / 0.7342 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.21, allocations: 88.22 kB / 0.7342 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.2103, allocations: 141.8 kB / 0.7344 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.2103, allocations: 0 / 0.7344 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003521/0.2106, allocations: 214.4 kB / 0.7346 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.788e-05/0.2107, allocations: 31.58 kB / 0.7346 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2107, allocations: 4 kB / 0.7346 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.2107, allocations: 4.125 kB / 0.7346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.955e-05/0.2108, allocations: 23.92 kB / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2108, allocations: 4 kB / 0.7346 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.211, allocations: 27.91 kB / 0.7347 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.211, allocations: 12 kB / 0.7347 GB, free: 11.35 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001224/0.2111, allocations: 137.7 kB / 0.7348 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.816e-05/0.2111, allocations: 7.953 kB / 0.7348 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.2112, allocations: 12.44 kB / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.2112, allocations: 3.938 kB / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2112, allocations: 4 kB / 0.7348 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.2112, allocations: 3.984 kB / 0.7348 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004667/0.2116, allocations: 405.5 kB / 0.7352 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2116, allocations: 3.938 kB / 0.7352 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.2117, allocations: 4 kB / 0.7352 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2117, allocations: 0 / 0.7352 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.2117, allocations: 7.984 kB / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2117, allocations: 4 kB / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2117, allocations: 0 / 0.7352 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.212, allocations: 255.4 kB / 0.7355 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.518e-05/0.212, allocations: 11.89 kB / 0.7355 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.212, allocations: 7.984 kB / 0.7355 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/0.2121, allocations: 4 kB / 0.7355 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.2121, allocations: 15.97 kB / 0.7355 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.2122, allocations: 15.92 kB / 0.7355 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.2122, allocations: 91.22 kB / 0.7356 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2122, allocations: 0 / 0.7356 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002949/0.2125, allocations: 35.98 kB / 0.7357 GB, free: 10.26 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001582/0.2127, allocations: 104 kB / 0.7358 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.213, allocations: 171.3 kB / 0.7359 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.213, allocations: 0 / 0.7359 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.2131, allocations: 60.16 kB / 0.736 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.2134, allocations: 23.91 kB / 0.736 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.2138, allocations: 215 kB / 0.7362 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.2141, allocations: 0.6846 MB / 0.7369 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.26e-05/0.2142, allocations: 19.44 kB / 0.7369 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.2142, allocations: 0 / 0.7369 GB, free: 8.918 MB / 0.5606 GB Notification: Performance of Templates: time 0.003354/0.2175, allocations: 1.463 MB / 0.7383 GB, free: 7.457 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.057820436079055] Failed to read output from testmodel.py, exit status != 0: 0.22682669502682984 0.24868779000000002 0.038176535000000004 Calling exit ...