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.001458/0.001458, 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.001194/0.001194, allocations: 165 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 0.9771/0.9771, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.6395/0.6395, allocations: 115 MB / 375.7 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.262e-06/1.262e-06, allocations: 0 / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.37e-05, allocations: 8.016 kB / 481.5 MB, free: 11.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.001799/0.001813, allocations: 1.84 MB / 483.3 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006741/0.002487, allocations: 0.5697 MB / 483.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.451e-05/0.002561, allocations: 7.688 kB / 483.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.002666, allocations: 19.91 kB / 483.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.145e-05/0.002718, allocations: 33.3 kB / 484 MB, free: 10.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.00288, allocations: 64.12 kB / 484 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.00305, allocations: 176.3 kB / 484.2 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.003164, allocations: 34.19 kB / 484.2 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.485e-05/0.003258, allocations: 84.58 kB / 484.3 MB, free: 10.02 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.003312, allocations: 34.45 kB / 484.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.003336, allocations: 11.16 kB / 484.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.832e-05/0.003354, allocations: 11.69 kB / 484.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.755e-05/0.003382, allocations: 35.16 kB / 484.4 MB, free: 9.984 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.322e-05/0.003425, allocations: 38.78 kB / 484.5 MB, free: 9.965 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.003554, allocations: 99.89 kB / 484.6 MB, free: 9.914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.003556, allocations: 1.031 kB / 484.6 MB, free: 9.914 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003556, allocations: 0 / 484.6 MB, free: 9.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.003561, allocations: 0.9375 kB / 484.6 MB, free: 9.914 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.0004485/0.004009, allocations: 0.5195 MB / 485.1 MB, free: 9.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.00404, allocations: 9.469 kB / 485.1 MB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.004086, allocations: 22.88 kB / 485.1 MB, free: 9.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.004251, allocations: 186.2 kB / 485.3 MB, free: 9.262 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.004263, allocations: 9.344 kB / 485.3 MB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.952e-05/0.004292, allocations: 17.88 kB / 485.3 MB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.004458, allocations: 151.2 kB / 485.5 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.004465, allocations: 192 / 485.5 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.004476, allocations: 3.281 kB / 485.5 MB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.004485, allocations: 7.938 kB / 485.5 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.47e-05/0.00455, allocations: 40.56 kB / 485.5 MB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/0.005228, allocations: 0.8868 MB / 486.4 MB, free: 24.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.57e-05/0.005283, allocations: 34.66 kB / 486.4 MB, free: 24.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.76e-05/0.005311, allocations: 22.16 kB / 486.5 MB, free: 24.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.00533, allocations: 1.156 kB / 486.5 MB, free: 24.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/0.005432, allocations: 123.4 kB / 486.6 MB, free: 24.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 9.92e-07/0.005433, allocations: 0 / 486.6 MB, free: 24.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002016/0.005634, allocations: 117.9 kB / 486.7 MB, free: 24.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.28e-05/0.005667, allocations: 136.4 kB / 486.8 MB, free: 23.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.005795, allocations: 243.6 kB / 487.1 MB, free: 23.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.005805, allocations: 27.14 kB / 487.1 MB, free: 23.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.005883, allocations: 182.9 kB / 487.3 MB, free: 23.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.005906, allocations: 40.34 kB / 487.3 MB, free: 23.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.005951, allocations: 49.83 kB / 487.4 MB, free: 23.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.006073, allocations: 0.4991 MB / 487.9 MB, free: 22.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.577e-05/0.006109, allocations: 10.91 kB / 487.9 MB, free: 22.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.006179, allocations: 172.1 kB / 488 MB, free: 22.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.006301, allocations: 212.1 kB / 488.2 MB, free: 22.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.006304, allocations: 1.094 kB / 488.2 MB, free: 22.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001676/0.006472, allocations: 174 kB / 488.4 MB, free: 22.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.006487, allocations: 7.5 kB / 488.4 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.006494, allocations: 3.688 kB / 488.4 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.006514, allocations: 6 kB / 488.4 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.021e-05/0.006594, allocations: 34.48 kB / 488.5 MB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.006602, allocations: 11.38 kB / 488.5 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.006664, allocations: 19.55 kB / 488.5 MB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.006676, allocations: 17.89 kB / 488.5 MB, free: 22.37 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 7.663e-05/0.006752, allocations: 173.3 kB / 488.7 MB, free: 22.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.385e-05/0.006776, allocations: 26.53 kB / 488.7 MB, free: 22.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.006812, allocations: 17.91 kB / 488.7 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.006815, allocations: 2.188 kB / 488.7 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.00682, allocations: 8.406 kB / 488.7 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.006825, allocations: 1.125 kB / 488.7 MB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003397/0.007164, allocations: 0.4995 MB / 489.2 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.007167, allocations: 1.375 kB / 489.2 MB, free: 21.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.101e-05/0.007218, allocations: 21.3 kB / 489.3 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.00722, allocations: 4.531 kB / 489.3 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.007234, allocations: 5.25 kB / 489.3 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.007236, allocations: 2.406 kB / 489.3 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.007237, allocations: 1.375 kB / 489.3 MB, free: 21.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.007441, allocations: 401.2 kB / 489.7 MB, free: 21.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.007457, allocations: 20.5 kB / 489.7 MB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.007473, allocations: 2.688 kB / 489.7 MB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.251e-05/0.007545, allocations: 12.03 kB / 489.7 MB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.007586, allocations: 15.48 kB / 489.7 MB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.007593, allocations: 3.781 kB / 489.7 MB, free: 21.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.826e-05/0.007661, allocations: 168.1 kB / 489.9 MB, free: 21.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007662, allocations: 0 / 489.9 MB, free: 21.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.007873, allocations: 32.11 kB / 489.9 MB, free: 21.2 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 6.315e-05/0.007936, allocations: 107.6 kB / 490 MB, free: 21.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.008069, allocations: 85.06 kB / 490.1 MB, free: 21.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.00807, allocations: 1.031 kB / 490.1 MB, free: 21.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.542e-05/0.008115, allocations: 40.47 kB / 490.1 MB, free: 21.05 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.008446, allocations: 67.64 kB / 490.2 MB, free: 21.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003752/0.008821, allocations: 341.5 kB / 490.5 MB, free: 20.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.03e-05/0.008861, allocations: 74.81 kB / 490.6 MB, free: 20.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.247e-05/0.008904, allocations: 15.23 kB / 490.6 MB, free: 20.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.00894, allocations: 18.81 kB / 490.6 MB, free: 20.68 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.00894, allocations: 0.75 kB / 490.6 MB, free: 20.68 MB / 426.7 MB Notification: Performance of Templates: time 0.003653/0.01259, allocations: 2.128 MB / 492.8 MB, free: 20.51 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.769086441025138]