Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.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.001644/0.001644, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.001458/0.001458, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.572/1.572, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.027/1.027, allocations: 150 MB / 459.5 MB, free: 5.316 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.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [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.001985/0.001985, allocations: 69.42 kB / 0.6366 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2171, allocations: 89.13 MB / 0.7237 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.00244/0.2195, allocations: 0.8794 MB / 0.7245 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001846/0.2214, allocations: 1.2 MB / 0.7257 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.2214, allocations: 4 kB / 0.7257 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.245e-05/0.2215, allocations: 11.86 kB / 0.7257 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.2216, allocations: 15.8 kB / 0.7257 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.2222, allocations: 154 kB / 0.7259 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.2225, allocations: 167.6 kB / 0.7261 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.2226, allocations: 25.11 kB / 0.7261 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.2227, allocations: 71.81 kB / 0.7261 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.2229, allocations: 63.73 kB / 0.7262 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.2229, allocations: 16 kB / 0.7262 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.665e-05/0.223, allocations: 31.92 kB / 0.7263 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.223, allocations: 31.91 kB / 0.7263 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.575e-05/0.2231, allocations: 59.72 kB / 0.7263 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.2234, allocations: 171.3 kB / 0.7265 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2234, allocations: 4 kB / 0.7265 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2234, allocations: 0 / 0.7265 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.2234, allocations: 0 / 0.7265 GB, free: 0.5938 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00082/0.2243, allocations: 470.5 kB / 0.727 GB, free: 80 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.2243, allocations: 8.031 kB / 0.727 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.2244, allocations: 12.89 kB / 0.727 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.225, allocations: 252.2 kB / 0.7272 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.225, allocations: 12.31 kB / 0.7272 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.225, allocations: 12.36 kB / 0.7272 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002574/0.2253, allocations: 86.22 kB / 0.7273 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2253, allocations: 7.875 kB / 0.7273 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.2253, allocations: 7.984 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2253, allocations: 4 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001863/0.2255, allocations: 47.89 kB / 0.7274 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007816/0.2263, allocations: 384.5 kB / 0.7278 GB, free: 15.17 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.2264, allocations: 42.48 kB / 0.7278 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.727e-05/0.2265, allocations: 24.97 kB / 0.7278 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.2266, allocations: 7.984 kB / 0.7278 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003089/0.2269, allocations: 91.34 kB / 0.7279 GB, free: 14.98 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.353e-06/0.2269, allocations: 0 / 0.7279 GB, free: 14.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004675/0.2273, allocations: 137.5 kB / 0.728 GB, free: 14.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.2274, allocations: 63.34 kB / 0.7281 GB, free: 14.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.2275, allocations: 143.7 kB / 0.7282 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.2276, allocations: 29.7 kB / 0.7283 GB, free: 14.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.543e-05/0.2277, allocations: 108 kB / 0.7284 GB, free: 14.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.2277, allocations: 35.81 kB / 0.7284 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.809e-05/0.2278, allocations: 53.62 kB / 0.7285 GB, free: 14.38 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.2279, allocations: 322.8 kB / 0.7288 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.2281, allocations: 51.97 kB / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.2283, allocations: 132.8 kB / 0.7289 GB, free: 13.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.2287, allocations: 200.6 kB / 0.7291 GB, free: 13.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2287, allocations: 4 kB / 0.7291 GB, free: 13.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005133/0.2292, allocations: 239 kB / 0.7294 GB, free: 13.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.2293, allocations: 37.7 kB / 0.7294 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2293, allocations: 4 kB / 0.7294 GB, free: 13.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.2293, allocations: 7.984 kB / 0.7294 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.2294, allocations: 27.92 kB / 0.7294 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2294, allocations: 8.312 kB / 0.7294 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.2296, allocations: 40.23 kB / 0.7295 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.2297, allocations: 19.98 kB / 0.7295 GB, free: 13.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0001249/0.2298, allocations: 127.3 kB / 0.7296 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.2298, allocations: 7.953 kB / 0.7296 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.2299, allocations: 20.64 kB / 0.7297 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2299, allocations: 0 / 0.7297 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2299, allocations: 7.938 kB / 0.7297 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2299, allocations: 0 / 0.7297 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.2305, allocations: 394.4 kB / 0.73 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2305, allocations: 0 / 0.73 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.2306, allocations: 15.94 kB / 0.73 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.2306, allocations: 7.922 kB / 0.7301 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.2306, allocations: 4 kB / 0.7301 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2306, allocations: 8 kB / 0.7301 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2306, allocations: 0 / 0.7301 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.231, allocations: 235.4 kB / 0.7303 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.2311, allocations: 92.92 kB / 0.7304 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.2311, allocations: 8 kB / 0.7304 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.542e-05/0.2312, allocations: 15.98 kB / 0.7304 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.2313, allocations: 4 kB / 0.7304 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.2313, allocations: 3.984 kB / 0.7304 GB, free: 12.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.207e-05/0.2314, allocations: 105 kB / 0.7305 GB, free: 12.06 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2314, allocations: 0 / 0.7305 GB, free: 12.06 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002825/0.2317, allocations: 31.94 kB / 0.7305 GB, free: 12.03 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002225/0.2319, allocations: 115.2 kB / 0.7307 GB, free: 11.91 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004298/0.2323, allocations: 171.1 kB / 0.7308 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2323, allocations: 0 / 0.7308 GB, free: 11.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001215/0.2324, allocations: 32.16 kB / 0.7308 GB, free: 11.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003015/0.2327, allocations: 27.48 kB / 0.7309 GB, free: 11.67 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006044/0.2333, allocations: 276.3 kB / 0.7311 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.2337, allocations: 0.7044 MB / 0.7318 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.093e-05/0.2338, allocations: 16.64 kB / 0.7318 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.2338, allocations: 15.44 kB / 0.7319 GB, free: 10.61 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2338, allocations: 0 / 0.7319 GB, free: 10.61 MB / 0.545 GB Notification: Performance of Templates: time 0.005242/0.239, allocations: 1.661 MB / 0.7335 GB, free: 8.977 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.284057071898133] Failed to read output from testmodel.py, exit status != 0: 0.24743807991035283 0.26034427299999996 0.034144112000000004 Calling exit ...