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.001132/0.001132, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001284/0.001284, allocations: 161 kB / 24.17 MB, free: 332 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.014/1.014, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 2.079/2.079, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] 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.763e-06/1.763e-06, allocations: 0 / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.593e-05, allocations: 4.484 kB / 0.7752 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.0035/0.003526, allocations: 1.89 MB / 0.777 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.004777, allocations: 0.5724 MB / 0.7776 GB, free: 2.945 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.004901, allocations: 5.031 kB / 0.7776 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.005061, allocations: 29.05 kB / 0.7776 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.546e-05/0.005157, allocations: 31.77 kB / 0.7777 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.005418, allocations: 66.83 kB / 0.7777 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/0.005669, allocations: 179.5 kB / 0.7779 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.005808, allocations: 42.33 kB / 0.7779 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.005952, allocations: 79.8 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.006027, allocations: 35.88 kB / 0.7781 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.909e-05/0.006056, allocations: 12 kB / 0.7781 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.959e-05/0.006075, allocations: 8 kB / 0.7781 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.006113, allocations: 35.83 kB / 0.7781 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/0.006165, allocations: 40.48 kB / 0.7781 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.006354, allocations: 99.58 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.006358, allocations: 0.6875 kB / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.503e-06/0.006359, allocations: 0 / 0.7782 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.006364, allocations: 0.5312 kB / 0.7782 GB, free: 2.305 MB / 0.7292 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.0006036/0.006968, allocations: 373.4 kB / 0.7786 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.007018, allocations: 13.34 kB / 0.7786 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.007075, allocations: 21.55 kB / 0.7786 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.007375, allocations: 175.6 kB / 0.7788 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.007395, allocations: 8.375 kB / 0.7788 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.007432, allocations: 16.33 kB / 0.7788 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.007684, allocations: 136.8 kB / 0.779 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.007697, allocations: 192 / 0.779 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.007714, allocations: 8.375 kB / 0.779 GB, free: 1.504 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.007725, allocations: 4.469 kB / 0.779 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.019e-05/0.007795, allocations: 32.34 kB / 0.779 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008029/0.008598, allocations: 0.5641 MB / 0.7795 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.033e-05/0.008679, allocations: 26.56 kB / 0.7796 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.008712, allocations: 25.3 kB / 0.7796 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.008732, allocations: 0.75 kB / 0.7796 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.008898, allocations: 111 kB / 0.7797 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/0.0089, allocations: 1.594 kB / 0.7797 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0002298/0.00913, allocations: 89.53 kB / 0.7798 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.368e-05/0.009224, allocations: 129.4 kB / 0.7799 GB, free: 444 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.009388, allocations: 192.4 kB / 0.7801 GB, free: 240 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.009408, allocations: 29.7 kB / 0.7801 GB, free: 204 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.009498, allocations: 125.1 kB / 0.7802 GB, free: 76 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.615e-05/0.009534, allocations: 43.67 kB / 0.7803 GB, free: 32 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.636e-05/0.00962, allocations: 37.78 kB / 0.7803 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.009743, allocations: 328.5 kB / 0.7806 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.009777, allocations: 15.98 kB / 0.7807 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.009882, allocations: 115 kB / 0.7808 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.01007, allocations: 159.4 kB / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.01007, allocations: 1.781 kB / 0.7809 GB, free: 15.28 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005491/0.01062, allocations: 143.5 kB / 0.7811 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.01064, allocations: 11.94 kB / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.01065, allocations: 5.312 kB / 0.7811 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.01067, allocations: 4 kB / 0.7811 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.01079, allocations: 31.92 kB / 0.7811 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.0108, allocations: 9.016 kB / 0.7811 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.0109, allocations: 23.89 kB / 0.7811 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.01092, allocations: 13.56 kB / 0.7811 GB, free: 15.04 MB / 0.7448 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,intNoReset.trigger_internal,intDef.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 9.863e-05/0.01102, allocations: 122.8 kB / 0.7813 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.01105, allocations: 15.98 kB / 0.7813 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.0111, allocations: 25.39 kB / 0.7813 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.0111, allocations: 1.469 kB / 0.7813 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.01111, allocations: 4 kB / 0.7813 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.01111, allocations: 0 / 0.7813 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.01158, allocations: 350.7 kB / 0.7816 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.01158, allocations: 4 kB / 0.7816 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.546e-05/0.01167, allocations: 20.7 kB / 0.7817 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.01167, allocations: 4 kB / 0.7817 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.01168, allocations: 0.9375 kB / 0.7817 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.01169, allocations: 4 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.01169, allocations: 3.938 kB / 0.7817 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.01194, allocations: 281.7 kB / 0.7819 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.01197, allocations: 19.88 kB / 0.782 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.012, allocations: 4.938 kB / 0.782 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.015e-05/0.01209, allocations: 7.984 kB / 0.782 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.01213, allocations: 14.89 kB / 0.782 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.01214, allocations: 4 kB / 0.782 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.01218, allocations: 52.61 kB / 0.782 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01218, allocations: 0 / 0.782 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002019/0.01238, allocations: 35.94 kB / 0.7821 GB, free: 14.03 MB / 0.7448 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.0001033/0.01248, allocations: 88.34 kB / 0.7822 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.01259, allocations: 77.53 kB / 0.7822 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.0126, allocations: 4 kB / 0.7822 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.373e-05/0.01264, allocations: 30.28 kB / 0.7823 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.01295, allocations: 66.73 kB / 0.7823 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004169/0.01336, allocations: 323.3 kB / 0.7826 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.638e-05/0.01341, allocations: 77.02 kB / 0.7827 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.159e-05/0.01346, allocations: 15.89 kB / 0.7827 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.339e-05/0.01355, allocations: 87.28 kB / 0.7828 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of SimCode: time 6.62e-07/0.01355, allocations: 0 / 0.7828 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of Templates: time 0.004115/0.01767, allocations: 2.207 MB / 0.785 GB, free: 11.15 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.210011881776154]