Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.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.001048/0.001048, allocations: 84.22 kB / 20.94 MB, free: 3.609 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.000993/0.000993, allocations: 169.3 kB / 24.25 MB, free: 308 kB / 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.09/1.09, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.7561/0.7561, allocations: 115 MB / 376 MB, free: 7.656 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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.514e-05, allocations: 6.109 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002173/0.002198, allocations: 1.838 MB / 483.4 MB, free: 10.69 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008981/0.003096, allocations: 0.5666 MB / 483.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.003204, allocations: 6.125 kB / 483.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.003351, allocations: 22.3 kB / 484 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.434e-05/0.003415, allocations: 30.75 kB / 484 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.003637, allocations: 64.27 kB / 484 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.003844, allocations: 179.1 kB / 484.2 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.00399, allocations: 35.16 kB / 484.3 MB, free: 10.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.004102, allocations: 80.55 kB / 484.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.004166, allocations: 34.06 kB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.004198, allocations: 11.91 kB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.586e-05/0.004214, allocations: 9.625 kB / 484.4 MB, free: 10.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.226e-05/0.004246, allocations: 35.88 kB / 484.4 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.004295, allocations: 38.31 kB / 484.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.00444, allocations: 104.2 kB / 484.6 MB, free: 9.988 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004442, allocations: 0 / 484.6 MB, free: 9.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004443, allocations: 0 / 484.6 MB, free: 9.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.004449, allocations: 0.8125 kB / 484.6 MB, free: 9.988 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005683/0.005018, allocations: 0.5173 MB / 485.1 MB, free: 9.512 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.005059, allocations: 9.438 kB / 485.1 MB, free: 9.512 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/0.005122, allocations: 23.81 kB / 485.1 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.005343, allocations: 189.7 kB / 485.3 MB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.00536, allocations: 9.75 kB / 485.3 MB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.005389, allocations: 13.78 kB / 485.3 MB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.005591, allocations: 150.9 kB / 485.5 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.005601, allocations: 192 / 485.5 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.005616, allocations: 5.797 kB / 485.5 MB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.005628, allocations: 7.062 kB / 485.5 MB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.317e-05/0.005701, allocations: 38.73 kB / 485.5 MB, free: 9.184 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008901/0.006591, allocations: 0.8867 MB / 486.4 MB, free: 24.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.957e-05/0.00667, allocations: 36.03 kB / 486.4 MB, free: 24.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.006704, allocations: 17.5 kB / 486.5 MB, free: 24.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.006726, allocations: 1.25 kB / 486.5 MB, free: 24.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.006871, allocations: 125.8 kB / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.006873, allocations: 0.6875 kB / 486.6 MB, free: 24.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002344/0.007107, allocations: 122 kB / 486.7 MB, free: 24.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.412e-05/0.007151, allocations: 135.3 kB / 486.8 MB, free: 23.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.007298, allocations: 244.2 kB / 487.1 MB, free: 23.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.007312, allocations: 27.58 kB / 487.1 MB, free: 23.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.644e-05/0.007398, allocations: 179 kB / 487.3 MB, free: 23.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.007427, allocations: 42.36 kB / 487.3 MB, free: 23.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.007477, allocations: 49 kB / 487.4 MB, free: 23.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.007615, allocations: 0.4994 MB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.842e-05/0.007653, allocations: 13.12 kB / 487.9 MB, free: 23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.177e-05/0.007735, allocations: 173.5 kB / 488 MB, free: 22.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.007875, allocations: 204.4 kB / 488.2 MB, free: 22.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.007878, allocations: 1 kB / 488.2 MB, free: 22.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001964/0.008075, allocations: 174.5 kB / 488.4 MB, free: 22.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.008094, allocations: 10.8 kB / 488.4 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.008101, allocations: 3.844 kB / 488.4 MB, free: 22.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.00812, allocations: 10.06 kB / 488.4 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.008208, allocations: 28.06 kB / 488.5 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.008218, allocations: 10.22 kB / 488.5 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.572e-05/0.008284, allocations: 20.42 kB / 488.5 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.008297, allocations: 16.52 kB / 488.5 MB, free: 22.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * 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 8.391e-05/0.008381, allocations: 177.2 kB / 488.7 MB, free: 22.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.008404, allocations: 25.72 kB / 488.7 MB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.008438, allocations: 17.91 kB / 488.7 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.008442, allocations: 2.562 kB / 488.7 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.008446, allocations: 1.281 kB / 488.7 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.008452, allocations: 1.406 kB / 488.7 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00039/0.008842, allocations: 0.5043 MB / 489.2 MB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.008845, allocations: 2.5 kB / 489.2 MB, free: 21.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.643e-05/0.008901, allocations: 22.03 kB / 489.3 MB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.008904, allocations: 1.188 kB / 489.3 MB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.008919, allocations: 6.875 kB / 489.3 MB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.008921, allocations: 2.156 kB / 489.3 MB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.008923, allocations: 1.406 kB / 489.3 MB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.009168, allocations: 403.3 kB / 489.7 MB, free: 21.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.009185, allocations: 18.58 kB / 489.7 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.009204, allocations: 3.688 kB / 489.7 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.009276, allocations: 11.25 kB / 489.7 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.009329, allocations: 15.17 kB / 489.7 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.009337, allocations: 5.125 kB / 489.7 MB, free: 21.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.093e-05/0.009418, allocations: 164.3 kB / 489.9 MB, free: 21.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009418, allocations: 1.438 kB / 489.9 MB, free: 21.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.009646, allocations: 35.03 kB / 489.9 MB, free: 21.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.483e-05/0.00973, allocations: 105.6 kB / 490 MB, free: 21.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001535/0.009884, allocations: 89.16 kB / 490.1 MB, free: 21.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.009886, allocations: 0 / 490.1 MB, free: 21.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.103e-05/0.009937, allocations: 36.22 kB / 490.1 MB, free: 21.12 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.0103, allocations: 72.34 kB / 490.2 MB, free: 21.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.01075, allocations: 335.1 kB / 490.5 MB, free: 20.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.0108, allocations: 76.98 kB / 490.6 MB, free: 20.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.279e-05/0.01085, allocations: 24.11 kB / 490.6 MB, free: 20.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.01089, allocations: 18.81 kB / 490.7 MB, free: 20.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.263e-06/0.01089, allocations: 0 / 490.7 MB, free: 20.75 MB / 426.7 MB Notification: Performance of Templates: time 0.004434/0.01533, allocations: 2.12 MB / 492.8 MB, free: 20.58 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8116579079069197]