Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001862/0.001862, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.003383/0.003383, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.681/1.681, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.123/3.123, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset") translateModel(Buildings.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.42e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003193/0.003217, allocations: 1.787 MB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.004352, allocations: 0.5415 MB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.004454, allocations: 7.938 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.004597, allocations: 31.61 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.263e-05/0.004679, allocations: 31.72 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.004893, allocations: 71.84 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.005154, allocations: 171.4 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.005289, allocations: 29.78 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.005432, allocations: 83.78 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.27e-05/0.005515, allocations: 35.89 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.785e-05/0.005553, allocations: 12 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 2.436e-05/0.005577, allocations: 12 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.005621, allocations: 27.84 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.93e-05/0.00569, allocations: 47.84 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.005897, allocations: 135.4 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.0059, allocations: 4 kB / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.51e-07/0.0059, allocations: 0 / 1.004 GB, free: 9.965 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.005904, allocations: 0 / 1.004 GB, free: 9.965 MB / 0.9636 GB 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.0007899/0.006694, allocations: 423.2 kB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.006731, allocations: 13.34 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.006788, allocations: 20.8 kB / 1.004 GB, free: 9.484 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.007077, allocations: 181.4 kB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.007091, allocations: 4.375 kB / 1.005 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.007121, allocations: 12.38 kB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005477/0.007669, allocations: 150.4 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.00768, allocations: 192 / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.007699, allocations: 8.375 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.007707, allocations: 3.938 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.007955, allocations: 75.88 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009709/0.008926, allocations: 0.6531 MB / 1.006 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.009091, allocations: 46.55 kB / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.009206, allocations: 40.75 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.009228, allocations: 0 / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.009493, allocations: 126.9 kB / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.009494, allocations: 0 / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0005149/0.01001, allocations: 161.6 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.01012, allocations: 136.5 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.01034, allocations: 200.1 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.01036, allocations: 25.7 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.01047, allocations: 135.9 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.01052, allocations: 43.94 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.848e-05/0.01059, allocations: 41.7 kB / 1.006 GB, free: 7.277 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.01077, allocations: 326.8 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.0109, allocations: 39.97 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.01113, allocations: 147.9 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003824/0.01151, allocations: 206.3 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01151, allocations: 0 / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004351/0.01195, allocations: 205.6 kB / 1.007 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.01196, allocations: 12.03 kB / 1.007 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.01197, allocations: 4 kB / 1.007 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.01199, allocations: 4 kB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/0.01212, allocations: 31.92 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.01214, allocations: 7.938 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.01228, allocations: 23.94 kB / 1.007 GB, free: 6.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.0123, allocations: 11.98 kB / 1.007 GB, free: 6.16 MB / 0.9636 GB 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 0.0001352/0.01244, allocations: 140 kB / 1.008 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.01247, allocations: 27.8 kB / 1.008 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/0.01252, allocations: 21.45 kB / 1.008 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.01253, allocations: 4 kB / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.01253, allocations: 256 / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.01254, allocations: 240 / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000802/0.01334, allocations: 461.2 kB / 1.008 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01334, allocations: 0 / 1.008 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.01346, allocations: 23.92 kB / 1.008 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.01347, allocations: 8 kB / 1.008 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.01348, allocations: 0 / 1.008 GB, free: 5.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.01349, allocations: 4 kB / 1.008 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01349, allocations: 0 / 1.008 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.01406, allocations: 360.2 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.01409, allocations: 15.84 kB / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.01411, allocations: 0 / 1.008 GB, free: 5.047 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.0143, allocations: 24.02 kB / 1.008 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.297e-05/0.01435, allocations: 11.98 kB / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.01436, allocations: 8 kB / 1.009 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.000124/0.01448, allocations: 127.2 kB / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01448, allocations: 0 / 1.009 GB, free: 4.879 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003227/0.01481, allocations: 27.94 kB / 1.009 GB, free: 4.852 MB / 0.9636 GB 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.0001343/0.01494, allocations: 110.6 kB / 1.009 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003484/0.01529, allocations: 112 kB / 1.009 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01529, allocations: 0 / 1.009 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.01545, allocations: 47.91 kB / 1.009 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.016, allocations: 72.33 kB / 1.009 GB, free: 4.516 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/0.01663, allocations: 321.5 kB / 1.009 GB, free: 4.168 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.01676, allocations: 120.1 kB / 1.009 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.703e-05/0.01683, allocations: 21.98 kB / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.01688, allocations: 20.5 kB / 1.009 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of SimCode: time 4.1e-07/0.01688, allocations: 0 / 1.009 GB, free: 3.984 MB / 0.9636 GB Notification: Performance of Templates: time 0.006193/0.02307, allocations: 2.111 MB / 1.011 GB, free: 1.93 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.879101746715605]