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.0009673/0.0009673, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 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.001077/0.001077, allocations: 169.3 kB / 24.84 MB, free: 8.695 MB / 18.57 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 0.9533/0.9533, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] 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.6334/0.6334, allocations: 115 MB / 376.8 MB, free: 7.484 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 482.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.6e-05, allocations: 3.516 kB / 482.8 MB, free: 11.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001202/0.001218, allocations: 0.8483 MB / 483.7 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009966/0.002215, allocations: 1.221 MB / 484.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.474e-05/0.00227, allocations: 2.438 kB / 484.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.002298, allocations: 11.16 kB / 484.9 MB, free: 10.35 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.002369, allocations: 22.92 kB / 484.9 MB, free: 10.33 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003638/0.002733, allocations: 150.3 kB / 485.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.002896, allocations: 167.1 kB / 485.2 MB, free: 10.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.911e-05/0.002985, allocations: 32.81 kB / 485.3 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.003107, allocations: 105.9 kB / 485.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.003192, allocations: 42.38 kB / 485.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.003213, allocations: 11.53 kB / 485.4 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.836e-05/0.003262, allocations: 30.45 kB / 485.5 MB, free: 10.1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.003285, allocations: 27.25 kB / 485.5 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.076e-05/0.003326, allocations: 43.7 kB / 485.5 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.003454, allocations: 109.5 kB / 485.6 MB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003455, allocations: 3.938 kB / 485.6 MB, free: 10.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.003456, allocations: 1.406 kB / 485.6 MB, free: 10.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.003459, allocations: 0.7812 kB / 485.6 MB, free: 10.01 MB / 410.7 MB 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.0004138/0.003873, allocations: 0.5191 MB / 486.2 MB, free: 9.516 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.003903, allocations: 11.38 kB / 486.2 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.003944, allocations: 24.25 kB / 486.2 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.004065, allocations: 160.9 kB / 486.3 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.004077, allocations: 6.781 kB / 486.4 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.004102, allocations: 14.5 kB / 486.4 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.798e-05/0.0042, allocations: 85.33 kB / 486.5 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.004208, allocations: 5.312 kB / 486.5 MB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.004216, allocations: 4.875 kB / 486.5 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.004221, allocations: 3.062 kB / 486.5 MB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.501e-05/0.004246, allocations: 18.72 kB / 486.5 MB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.004587, allocations: 336.7 kB / 486.8 MB, free: 9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.685e-05/0.004624, allocations: 36 kB / 486.8 MB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.00464, allocations: 12.34 kB / 486.9 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.004651, allocations: 1.094 kB / 486.9 MB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.01e-05/0.004731, allocations: 90.47 kB / 487 MB, free: 8.883 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.004732, allocations: 0 / 487 MB, free: 8.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001461/0.004878, allocations: 96.44 kB / 487 MB, free: 8.832 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.834e-05/0.004896, allocations: 53.56 kB / 487.1 MB, free: 8.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.005091, allocations: 199.8 kB / 487.3 MB, free: 24.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.005106, allocations: 32.55 kB / 487.3 MB, free: 24.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.00516, allocations: 162.7 kB / 487.5 MB, free: 24.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.005173, allocations: 24.86 kB / 487.5 MB, free: 24.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.005224, allocations: 51.81 kB / 487.6 MB, free: 24.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.428e-05/0.005318, allocations: 0.4948 MB / 488.1 MB, free: 23.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.005369, allocations: 57.19 kB / 488.1 MB, free: 23.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.005436, allocations: 180.2 kB / 488.3 MB, free: 23.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.338e-05/0.00553, allocations: 208.5 kB / 488.5 MB, free: 23.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.005532, allocations: 1.812 kB / 488.5 MB, free: 23.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002019/0.005734, allocations: 241 kB / 488.7 MB, free: 23.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.005756, allocations: 38.42 kB / 488.8 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.005762, allocations: 2.562 kB / 488.8 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.005772, allocations: 5.406 kB / 488.8 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.005832, allocations: 23.39 kB / 488.8 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.005837, allocations: 8.328 kB / 488.8 MB, free: 23.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.695e-05/0.005934, allocations: 30.39 kB / 488.8 MB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.00595, allocations: 11.73 kB / 488.8 MB, free: 23.22 MB / 426.7 MB 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 7.32e-05/0.006023, allocations: 179.1 kB / 489 MB, free: 23.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.006039, allocations: 22.83 kB / 489 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.285e-05/0.006062, allocations: 15.25 kB / 489.1 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.006064, allocations: 1 kB / 489.1 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.006066, allocations: 1.969 kB / 489.1 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.00607, allocations: 0 / 489.1 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.006297, allocations: 343.4 kB / 489.4 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.006299, allocations: 3.938 kB / 489.4 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.00634, allocations: 16.06 kB / 489.4 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.006341, allocations: 0 / 489.4 MB, free: 22.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.006349, allocations: 4.969 kB / 489.4 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.00635, allocations: 1.156 kB / 489.4 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.006351, allocations: 3.938 kB / 489.4 MB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/0.006486, allocations: 248.1 kB / 489.7 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.406e-06/0.006494, allocations: 10.36 kB / 489.7 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.006506, allocations: 5.969 kB / 489.7 MB, free: 22.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.743e-05/0.006543, allocations: 6.438 kB / 489.7 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.006569, allocations: 7.328 kB / 489.7 MB, free: 22.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.006574, allocations: 5.734 kB / 489.7 MB, free: 22.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.48e-05/0.006619, allocations: 142.5 kB / 489.8 MB, free: 22.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006619, allocations: 1.281 kB / 489.8 MB, free: 22.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001914/0.006811, allocations: 34.86 kB / 489.9 MB, free: 22.36 MB / 426.7 MB 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 8.746e-05/0.006898, allocations: 110.5 kB / 490 MB, free: 22.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.007044, allocations: 173.8 kB / 490.2 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007045, allocations: 1.75 kB / 490.2 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/0.007075, allocations: 30.36 kB / 490.2 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.007253, allocations: 32.11 kB / 490.2 MB, free: 22.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.007549, allocations: 245.9 kB / 490.5 MB, free: 21.93 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.815e-05/0.007578, allocations: 65.14 kB / 490.5 MB, free: 21.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.889e-05/0.007617, allocations: 15.75 kB / 490.5 MB, free: 21.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.13e-05/0.007698, allocations: 100.9 kB / 490.6 MB, free: 21.79 MB / 426.7 MB Notification: Performance of SimCode: time 5.82e-07/0.007698, allocations: 0 / 490.6 MB, free: 21.79 MB / 426.7 MB Notification: Performance of Templates: time 0.003456/0.01115, allocations: 1.93 MB / 492.6 MB, free: 21.64 MB / 426.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6475584502331913]