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.001446/0.001446, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001595/0.001595, allocations: 215.4 kB / 22.99 MB, free: 4.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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.006/1.006, allocations: 149.9 MB / 463 MB, free: 10.34 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.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.002221/0.002221, allocations: 68.47 kB / 0.6416 GB, free: 9.543 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2401, allocations: 89.17 MB / 0.7287 GB, free: 448 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.002354/0.2425, allocations: 0.8327 MB / 0.7295 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.2443, allocations: 1.198 MB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.959e-05/0.2444, allocations: 0 / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.579e-05/0.2444, allocations: 7.875 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.946e-05/0.2445, allocations: 15.86 kB / 0.7307 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005765/0.2451, allocations: 156.4 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000263/0.2454, allocations: 171.6 kB / 0.731 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.2455, allocations: 29.3 kB / 0.731 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.2456, allocations: 71.81 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.2458, allocations: 51.75 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.63e-05/0.2458, allocations: 16 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.785e-05/0.2459, allocations: 31.97 kB / 0.7312 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.096e-05/0.2459, allocations: 23.92 kB / 0.7312 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.265e-05/0.246, allocations: 51.78 kB / 0.7313 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.2463, allocations: 179.3 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2463, allocations: 0 / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2463, allocations: 0 / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2463, allocations: 3.938 kB / 0.7314 GB, free: 13.61 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008249/0.2471, allocations: 418 kB / 0.7318 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.2472, allocations: 8.031 kB / 0.7318 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.2472, allocations: 16.89 kB / 0.7319 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.2478, allocations: 202.4 kB / 0.732 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.2478, allocations: 4.375 kB / 0.7321 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.617e-05/0.2478, allocations: 12.38 kB / 0.7321 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.2481, allocations: 94.14 kB / 0.7322 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.2481, allocations: 3.938 kB / 0.7322 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.2481, allocations: 4 kB / 0.7322 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.2481, allocations: 4 kB / 0.7322 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.2483, allocations: 43.95 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000854/0.2492, allocations: 312.2 kB / 0.7325 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.2493, allocations: 30.56 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/0.2494, allocations: 28.91 kB / 0.7326 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2494, allocations: 4 kB / 0.7326 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003424/0.2498, allocations: 99.28 kB / 0.7327 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.2498, allocations: 4 kB / 0.7327 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004938/0.2503, allocations: 133.5 kB / 0.7328 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.2503, allocations: 51.41 kB / 0.7328 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001791/0.2505, allocations: 151.3 kB / 0.733 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.2506, allocations: 29.7 kB / 0.733 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.2507, allocations: 116.1 kB / 0.7331 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.604e-05/0.2507, allocations: 23.81 kB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/0.2508, allocations: 49.69 kB / 0.7332 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.251, allocations: 326.8 kB / 0.7335 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.2512, allocations: 77.66 kB / 0.7336 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.2515, allocations: 156.8 kB / 0.7337 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.2518, allocations: 204.6 kB / 0.7339 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2518, allocations: 4 kB / 0.7339 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005245/0.2523, allocations: 272.6 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.2524, allocations: 37.7 kB / 0.7342 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2524, allocations: 0 / 0.7342 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.2524, allocations: 4 kB / 0.7342 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.2525, allocations: 27.97 kB / 0.7343 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.2526, allocations: 12.25 kB / 0.7343 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.2528, allocations: 47.8 kB / 0.7343 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.2528, allocations: 15.98 kB / 0.7343 GB, free: 10.33 MB / 0.5606 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.000143/0.253, allocations: 124.2 kB / 0.7344 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.253, allocations: 11.91 kB / 0.7345 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.253, allocations: 16.7 kB / 0.7345 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.253, allocations: 0 / 0.7345 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.924e-06/0.2531, allocations: 4.312 kB / 0.7345 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.2531, allocations: 11.94 kB / 0.7345 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005742/0.2536, allocations: 342 kB / 0.7348 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2536, allocations: 0 / 0.7348 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.61e-05/0.2537, allocations: 8 kB / 0.7348 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.2537, allocations: 4 kB / 0.7348 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.2537, allocations: 7.984 kB / 0.7348 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.2538, allocations: 3.938 kB / 0.7348 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2538, allocations: 0 / 0.7348 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004648/0.2542, allocations: 243.4 kB / 0.7351 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.2542, allocations: 11.98 kB / 0.7351 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.2543, allocations: 8 kB / 0.7351 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.2543, allocations: 3.938 kB / 0.7351 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.2544, allocations: 11.97 kB / 0.7351 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.2544, allocations: 8 kB / 0.7351 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001073/0.2545, allocations: 101 kB / 0.7352 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2545, allocations: 0 / 0.7352 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002859/0.2548, allocations: 28 kB / 0.7352 GB, free: 9.34 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intWitRes2.y,intWitRes1.y,intDef.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.0001706/0.255, allocations: 119.1 kB / 0.7353 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004206/0.2554, allocations: 196.9 kB / 0.7355 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2554, allocations: 0 / 0.7355 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.2555, allocations: 36.67 kB / 0.7356 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.2558, allocations: 24.3 kB / 0.7356 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.2564, allocations: 268.9 kB / 0.7359 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.49e-05/0.2565, allocations: 93.61 kB / 0.7359 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.976e-05/0.2566, allocations: 16.64 kB / 0.736 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.282e-05/0.2566, allocations: 15.44 kB / 0.736 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2566, allocations: 0 / 0.736 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of Templates: time 0.005507/0.2621, allocations: 1.832 MB / 0.7378 GB, free: 6.73 MB / 0.5606 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.059931060299277] Failed to read output from testmodel.py, exit status != 0: 0.2717021517455578 0.28623085699999995 0.036935708000000005 Calling exit ...