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.001847/0.001847, allocations: 108.3 kB / 19.72 MB, free: 416 kB / 13.93 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.001957/0.001957, allocations: 216 kB / 23.02 MB, free: 2.957 MB / 13.93 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.647/1.647, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.357/3.357, allocations: 0.5045 GB / 0.8104 GB, free: 2.758 MB / 0.6511 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 0.003893/0.003893, allocations: 75.89 kB / 1.177 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8496/0.8535, allocations: 180 MB / 1.353 GB, free: 1.613 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.003302/0.8568, allocations: 1.786 MB / 1.355 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.858, allocations: 0.5532 MB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.8581, allocations: 7.938 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.8582, allocations: 23.67 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.061e-05/0.8583, allocations: 31.72 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.8585, allocations: 59.94 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002564/0.8587, allocations: 175.5 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.8589, allocations: 41.77 kB / 1.356 GB, free: 14.93 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.434e-05/0.859, allocations: 55.72 kB / 1.356 GB, free: 14.88 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.997e-05/0.8591, allocations: 55.64 kB / 1.356 GB, free: 14.82 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.8591, allocations: 8 kB / 1.356 GB, free: 14.81 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.381e-05/0.8591, allocations: 12 kB / 1.356 GB, free: 14.8 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.8592, allocations: 31.84 kB / 1.356 GB, free: 14.77 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 6.729e-05/0.8592, allocations: 47.73 kB / 1.356 GB, free: 14.72 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.8595, allocations: 146 kB / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8595, allocations: 0 / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8595, allocations: 0 / 1.356 GB, free: 14.58 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.8595, allocations: 0 / 1.356 GB, free: 14.58 MB / 1.042 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.0008139/0.8603, allocations: 427.2 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.8603, allocations: 8.922 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.8604, allocations: 20.8 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.8607, allocations: 178.7 kB / 1.356 GB, free: 13.9 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.8607, allocations: 8.375 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.8607, allocations: 16.38 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.8611, allocations: 158.2 kB / 1.357 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.8611, allocations: 0 / 1.357 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.8611, allocations: 4 kB / 1.357 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.8611, allocations: 4 kB / 1.357 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.8613, allocations: 63.89 kB / 1.357 GB, free: 13.63 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.8623, allocations: 0.665 MB / 1.357 GB, free: 12.92 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.8625, allocations: 50.48 kB / 1.357 GB, free: 12.86 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.8626, allocations: 28.84 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.8626, allocations: 4 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002648/0.8629, allocations: 122.7 kB / 1.358 GB, free: 12.68 MB / 1.042 GB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.8629, allocations: 3.938 kB / 1.358 GB, free: 12.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.0004991/0.8634, allocations: 169.3 kB / 1.358 GB, free: 12.51 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.8635, allocations: 136.5 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.8637, allocations: 185.4 kB / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.8637, allocations: 33.7 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.8639, allocations: 127.9 kB / 1.358 GB, free: 11.99 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.8639, allocations: 39.83 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/0.864, allocations: 45.64 kB / 1.358 GB, free: 11.9 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.8642, allocations: 327.1 kB / 1.359 GB, free: 11.57 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.8643, allocations: 39.97 kB / 1.359 GB, free: 11.53 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.8645, allocations: 150.5 kB / 1.359 GB, free: 11.33 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003739/0.8649, allocations: 202.2 kB / 1.359 GB, free: 11.08 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.8649, allocations: 0 / 1.359 GB, free: 11.08 MB / 1.042 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005112/0.8654, allocations: 205.2 kB / 1.359 GB, free: 10.88 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.8654, allocations: 4 kB / 1.359 GB, free: 10.87 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.8654, allocations: 4.5 kB / 1.359 GB, free: 10.87 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.8654, allocations: 15.98 kB / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.8656, allocations: 31.92 kB / 1.359 GB, free: 10.82 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8656, allocations: 8 kB / 1.359 GB, free: 10.81 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.8657, allocations: 23.88 kB / 1.359 GB, free: 10.79 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.8658, allocations: 12 kB / 1.359 GB, free: 10.78 MB / 1.042 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.000402/0.8662, allocations: 133.7 kB / 1.359 GB, free: 10.64 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.8662, allocations: 15.91 kB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.312e-05/0.8662, allocations: 21.41 kB / 1.359 GB, free: 10.59 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.8662, allocations: 0 / 1.359 GB, free: 10.59 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.8662, allocations: 8 kB / 1.359 GB, free: 10.58 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.8663, allocations: 4.234 kB / 1.359 GB, free: 10.58 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007859/0.867, allocations: 457.2 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.867, allocations: 3.938 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.8672, allocations: 15.98 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.8672, allocations: 0 / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.8672, allocations: 8 kB / 1.36 GB, free: 10.07 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.8672, allocations: 7.984 kB / 1.36 GB, free: 10.06 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8672, allocations: 0 / 1.36 GB, free: 10.06 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005582/0.8677, allocations: 364.4 kB / 1.36 GB, free: 9.68 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/0.8678, allocations: 11.91 kB / 1.36 GB, free: 9.668 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.8678, allocations: 4 kB / 1.36 GB, free: 9.664 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.8679, allocations: 16.12 kB / 1.36 GB, free: 9.648 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.868, allocations: 19.89 kB / 1.36 GB, free: 9.629 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.868, allocations: 8 kB / 1.36 GB, free: 9.621 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001236/0.8681, allocations: 131.4 kB / 1.36 GB, free: 9.492 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/0.8681, allocations: 0 / 1.36 GB, free: 9.492 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003191/0.8685, allocations: 28 kB / 1.36 GB, free: 9.465 MB / 1.042 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.0001372/0.8686, allocations: 113.4 kB / 1.361 GB, free: 9.348 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003386/0.8689, allocations: 116.5 kB / 1.361 GB, free: 9.234 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8689, allocations: 0 / 1.361 GB, free: 9.234 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.8691, allocations: 55.83 kB / 1.361 GB, free: 9.18 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.8696, allocations: 69.94 kB / 1.361 GB, free: 9.117 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/0.8703, allocations: 344.5 kB / 1.361 GB, free: 8.746 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.8704, allocations: 112.5 kB / 1.361 GB, free: 8.617 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.38e-05/0.8705, allocations: 21.67 kB / 1.361 GB, free: 8.598 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.8705, allocations: 15.44 kB / 1.361 GB, free: 8.582 MB / 1.042 GB Notification: Performance of SimCode: time 3.2e-07/0.8705, allocations: 0 / 1.361 GB, free: 8.582 MB / 1.042 GB Notification: Performance of Templates: time 0.005998/0.8765, allocations: 2.252 MB / 1.363 GB, free: 6.383 MB / 1.042 GB " [Timeout remaining time 299] 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: 10.229572309181094]