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.001045/0.001045, allocations: 96.09 kB / 20.43 MB, free: 4.137 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.001472/0.001472, allocations: 169 kB / 23.8 MB, free: 0.7695 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.046/1.046, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.7411/0.7411, allocations: 115 MB / 375.7 MB, free: 7.566 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 2.074e-06/2.074e-06, allocations: 0 / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.229e-05, allocations: 5 kB / 481.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.003113/0.003145, allocations: 1.845 MB / 483.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008492/0.003995, allocations: 0.5669 MB / 483.9 MB, free: 10.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.875e-05/0.004083, allocations: 7.125 kB / 483.9 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.004219, allocations: 24.05 kB / 484 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.183e-05/0.004281, allocations: 27.59 kB / 484 MB, free: 10.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.00447, allocations: 63.34 kB / 484 MB, free: 10.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.004656, allocations: 177.9 kB / 484.2 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.00478, allocations: 34.3 kB / 484.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.004881, allocations: 80.16 kB / 484.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.004941, allocations: 43.47 kB / 484.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.004972, allocations: 11.47 kB / 484.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.634e-05/0.004988, allocations: 10.75 kB / 484.4 MB, free: 10.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.005016, allocations: 32.59 kB / 484.4 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.005062, allocations: 35.14 kB / 484.5 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.005203, allocations: 108 kB / 484.6 MB, free: 9.977 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.005207, allocations: 0 / 484.6 MB, free: 9.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.005208, allocations: 2.312 kB / 484.6 MB, free: 9.977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.005214, allocations: 0 / 484.6 MB, free: 9.977 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.0005064/0.00572, allocations: 0.5138 MB / 485.1 MB, free: 9.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.005758, allocations: 8.906 kB / 485.1 MB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.005813, allocations: 27.88 kB / 485.1 MB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.006, allocations: 182.7 kB / 485.3 MB, free: 9.328 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.006012, allocations: 9.188 kB / 485.3 MB, free: 9.324 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.00604, allocations: 18.45 kB / 485.3 MB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.00622, allocations: 152.6 kB / 485.5 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.006228, allocations: 1.469 kB / 485.5 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.006241, allocations: 5.688 kB / 485.5 MB, free: 9.191 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.006251, allocations: 6.562 kB / 485.5 MB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.336e-05/0.006315, allocations: 44.81 kB / 485.5 MB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000767/0.007082, allocations: 0.8868 MB / 486.4 MB, free: 24.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.117e-05/0.007143, allocations: 35.56 kB / 486.4 MB, free: 24.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.007171, allocations: 21.05 kB / 486.5 MB, free: 24.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.007188, allocations: 3.094 kB / 486.5 MB, free: 24.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.007298, allocations: 118.4 kB / 486.6 MB, free: 24.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 4.549e-06/0.007303, allocations: 0 / 486.6 MB, free: 24.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002231/0.007526, allocations: 117.9 kB / 486.7 MB, free: 24.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.007562, allocations: 139.9 kB / 486.8 MB, free: 23.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.00769, allocations: 242.2 kB / 487.1 MB, free: 23.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.007702, allocations: 31.86 kB / 487.1 MB, free: 23.72 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.007774, allocations: 178.3 kB / 487.3 MB, free: 23.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.007795, allocations: 37.23 kB / 487.3 MB, free: 23.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.007836, allocations: 57.14 kB / 487.4 MB, free: 23.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.007947, allocations: 0.4962 MB / 487.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.007979, allocations: 12.11 kB / 487.9 MB, free: 22.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.028e-05/0.008049, allocations: 173.7 kB / 488 MB, free: 22.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.008166, allocations: 208.1 kB / 488.3 MB, free: 22.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.008169, allocations: 3.969 kB / 488.3 MB, free: 22.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001835/0.008353, allocations: 172.9 kB / 488.4 MB, free: 22.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.00837, allocations: 9.969 kB / 488.4 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.008379, allocations: 6.969 kB / 488.4 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.008397, allocations: 5 kB / 488.4 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.008485, allocations: 33.27 kB / 488.5 MB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.008494, allocations: 7.844 kB / 488.5 MB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.331e-05/0.008557, allocations: 21.72 kB / 488.5 MB, free: 22.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.00857, allocations: 10.78 kB / 488.5 MB, free: 22.43 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.651e-05/0.008657, allocations: 174.2 kB / 488.7 MB, free: 22.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.008681, allocations: 23.09 kB / 488.7 MB, free: 22.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.008717, allocations: 21.64 kB / 488.7 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.008721, allocations: 4.875 kB / 488.7 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.008726, allocations: 1.469 kB / 488.7 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.00873, allocations: 0 / 488.7 MB, free: 22.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003964/0.009127, allocations: 0.5012 MB / 489.2 MB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.009129, allocations: 1.438 kB / 489.2 MB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.009186, allocations: 19.88 kB / 489.3 MB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.009189, allocations: 0.9062 kB / 489.3 MB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.009211, allocations: 1.719 kB / 489.3 MB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.009215, allocations: 4.781 kB / 489.3 MB, free: 21.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.009217, allocations: 3.984 kB / 489.3 MB, free: 21.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.009474, allocations: 408.9 kB / 489.7 MB, free: 21.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.908e-05/0.009493, allocations: 20.08 kB / 489.7 MB, free: 21.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.009514, allocations: 6.375 kB / 489.7 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.009586, allocations: 6.844 kB / 489.7 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.435e-05/0.009641, allocations: 16.42 kB / 489.7 MB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.009651, allocations: 4.812 kB / 489.7 MB, free: 21.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.506e-05/0.009736, allocations: 172.6 kB / 489.9 MB, free: 21.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009736, allocations: 0 / 489.9 MB, free: 21.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.009952, allocations: 31.64 kB / 489.9 MB, free: 21.26 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 0.0001026/0.01005, allocations: 103.4 kB / 490 MB, free: 21.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001804/0.01023, allocations: 86.05 kB / 490.1 MB, free: 21.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01024, allocations: 0.8438 kB / 490.1 MB, free: 21.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.541e-05/0.01029, allocations: 41.25 kB / 490.1 MB, free: 21.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.01068, allocations: 74.38 kB / 490.2 MB, free: 21.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.0112, allocations: 330.6 kB / 490.5 MB, free: 20.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.439e-05/0.01126, allocations: 75.83 kB / 490.6 MB, free: 20.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.05e-05/0.01131, allocations: 16.89 kB / 490.6 MB, free: 20.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.851e-05/0.01135, allocations: 26.53 kB / 490.7 MB, free: 20.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.01136, allocations: 0 / 490.7 MB, free: 20.74 MB / 426.7 MB Notification: Performance of Templates: time 0.004457/0.01581, allocations: 2.251 MB / 492.9 MB, free: 20.55 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.7172399149276316]