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.001164/0.001164, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.002285/0.002285, allocations: 165.3 kB / 23.8 MB, free: 0.7734 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 1.058/1.058, allocations: 177.1 MB / 204.2 MB, free: 5.59 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.6266/0.6266, allocations: 114.9 MB / 375.7 MB, free: 7.648 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 2.305e-06/2.305e-06, allocations: 0 / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.472e-05/2.702e-05, allocations: 3.922 kB / 481.6 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001925/0.001952, allocations: 0.8685 MB / 482.4 MB, free: 11.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.003551, allocations: 1.218 MB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.329e-05/0.003625, allocations: 2.938 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.325e-05/0.003668, allocations: 11.06 kB / 483.7 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.432e-05/0.003762, allocations: 22.08 kB / 483.7 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.004321, allocations: 149 kB / 483.8 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002392/0.00456, allocations: 171.1 kB / 484 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.004698, allocations: 30.06 kB / 484 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001679/0.004865, allocations: 97.81 kB / 484.1 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.004972, allocations: 48.25 kB / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.005011, allocations: 15.44 kB / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.107e-05/0.005092, allocations: 27.78 kB / 484.2 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.005126, allocations: 25.86 kB / 484.3 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.914e-05/0.005205, allocations: 51.06 kB / 484.3 MB, free: 10.2 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.005427, allocations: 130.7 kB / 484.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.00543, allocations: 1.188 kB / 484.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005431, allocations: 2.594 kB / 484.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.005436, allocations: 0 / 484.4 MB, free: 10.13 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.0006614/0.006098, allocations: 0.5162 MB / 485 MB, free: 9.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/0.006154, allocations: 8.844 kB / 485 MB, free: 9.633 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.00624, allocations: 23.64 kB / 485 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.006648, allocations: 187.9 kB / 485.2 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.006668, allocations: 5.438 kB / 485.2 MB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.09e-05/0.006719, allocations: 20.77 kB / 485.2 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.006911, allocations: 84.47 kB / 485.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.00692, allocations: 1.469 kB / 485.3 MB, free: 9.402 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.006935, allocations: 5.781 kB / 485.3 MB, free: 9.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.006946, allocations: 5.531 kB / 485.3 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.981e-05/0.007006, allocations: 21.02 kB / 485.3 MB, free: 9.395 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.007635, allocations: 364.5 kB / 485.7 MB, free: 9.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/0.007694, allocations: 34.47 kB / 485.7 MB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.007724, allocations: 12.47 kB / 485.7 MB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.007746, allocations: 2.125 kB / 485.7 MB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001343/0.00788, allocations: 88.39 kB / 485.8 MB, free: 8.973 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.007882, allocations: 1.094 kB / 485.8 MB, free: 8.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002539/0.008136, allocations: 100.5 kB / 485.9 MB, free: 8.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.008161, allocations: 54.88 kB / 486 MB, free: 8.859 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.008289, allocations: 194.4 kB / 486.1 MB, free: 8.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.008316, allocations: 32.61 kB / 486.2 MB, free: 8.648 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.008571, allocations: 161 kB / 486.3 MB, free: 24.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.008597, allocations: 28.66 kB / 486.4 MB, free: 24.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.312e-05/0.00868, allocations: 52.5 kB / 486.4 MB, free: 24.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.008827, allocations: 0.4959 MB / 486.9 MB, free: 23.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.008941, allocations: 66.55 kB / 487 MB, free: 23.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.009086, allocations: 188.7 kB / 487.2 MB, free: 23.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.009276, allocations: 212.4 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.00928, allocations: 0 / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000409/0.009689, allocations: 253.8 kB / 487.6 MB, free: 23.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.009726, allocations: 35.95 kB / 487.6 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.009737, allocations: 8.188 kB / 487.7 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.009763, allocations: 3.781 kB / 487.7 MB, free: 23.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.009879, allocations: 28.58 kB / 487.7 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.00989, allocations: 8.062 kB / 487.7 MB, free: 23.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.01006, allocations: 28.81 kB / 487.7 MB, free: 23.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.01009, allocations: 19.45 kB / 487.7 MB, free: 23.29 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 0.0001091/0.0102, allocations: 171.4 kB / 487.9 MB, free: 23.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.01023, allocations: 15.66 kB / 487.9 MB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.351e-05/0.01027, allocations: 19.14 kB / 487.9 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.01028, allocations: 1.031 kB / 487.9 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01028, allocations: 1.406 kB / 487.9 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01029, allocations: 0.9688 kB / 487.9 MB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.01068, allocations: 372.5 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.01069, allocations: 3.906 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.174e-05/0.01077, allocations: 7.875 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.01077, allocations: 1.062 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.01079, allocations: 4.562 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.01079, allocations: 0 / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.01079, allocations: 1.375 kB / 488.3 MB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.01105, allocations: 258.4 kB / 488.6 MB, free: 22.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.01106, allocations: 11.83 kB / 488.6 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.01108, allocations: 1.688 kB / 488.6 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.01117, allocations: 4.641 kB / 488.6 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.01121, allocations: 12.09 kB / 488.6 MB, free: 22.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.01123, allocations: 11.34 kB / 488.6 MB, free: 22.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.866e-05/0.0113, allocations: 142.5 kB / 488.8 MB, free: 22.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0113, allocations: 0 / 488.8 MB, free: 22.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003437/0.01165, allocations: 33.98 kB / 488.8 MB, free: 22.41 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 0.0001559/0.0118, allocations: 112.5 kB / 488.9 MB, free: 22.31 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.01209, allocations: 185.1 kB / 489.1 MB, free: 22.19 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01209, allocations: 0 / 489.1 MB, free: 22.19 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/0.01215, allocations: 34.86 kB / 489.1 MB, free: 22.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.01247, allocations: 18 kB / 489.1 MB, free: 22.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.01301, allocations: 246.1 kB / 489.4 MB, free: 21.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.666e-05/0.01306, allocations: 73.17 kB / 489.4 MB, free: 21.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.632e-05/0.01312, allocations: 15.91 kB / 489.5 MB, free: 21.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.01316, allocations: 20.25 kB / 489.5 MB, free: 21.89 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01316, allocations: 0.9688 kB / 489.5 MB, free: 21.89 MB / 426.7 MB Notification: Performance of Templates: time 0.005469/0.01863, allocations: 1.752 MB / 491.2 MB, free: 21.76 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.838205700740218]