Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.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.000931/0.000931, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001056/0.001056, allocations: 161 kB / 24.16 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 0.9517/0.9517, allocations: 177.1 MB / 204.6 MB, free: 5.484 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 1.967/1.967, allocations: 389.6 MB / 0.6354 GB, free: 12.31 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.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.7752 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.78e-05, allocations: 5.406 kB / 0.7752 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset): time 0.001384/0.001401, allocations: 0.8691 MB / 0.7761 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00125/0.002651, allocations: 1.23 MB / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.002705, allocations: 0 / 0.7773 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.18e-05/0.002737, allocations: 7.875 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.441e-05/0.002821, allocations: 21.55 kB / 0.7773 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.003215, allocations: 157.6 kB / 0.7775 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.00347, allocations: 166.2 kB / 0.7776 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.74e-05/0.003567, allocations: 37.8 kB / 0.7776 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.003702, allocations: 107.8 kB / 0.7778 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/0.003798, allocations: 45.62 kB / 0.7778 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.003819, allocations: 12 kB / 0.7778 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.827e-05/0.003877, allocations: 19.98 kB / 0.7778 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.003907, allocations: 23.91 kB / 0.7778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.003951, allocations: 50.64 kB / 0.7779 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.004283, allocations: 127.5 kB / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004285, allocations: 0 / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.71e-07/0.004286, allocations: 0 / 0.778 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.004289, allocations: 0 / 0.778 GB, free: 2.504 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004329/0.004722, allocations: 350.2 kB / 0.7784 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.004755, allocations: 16.66 kB / 0.7784 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.835e-05/0.004794, allocations: 16.92 kB / 0.7784 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.004947, allocations: 156.1 kB / 0.7785 GB, free: 1.926 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.004958, allocations: 8.375 kB / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.549e-05/0.004983, allocations: 12.38 kB / 0.7786 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.005099, allocations: 78.91 kB / 0.7786 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.141e-06/0.005105, allocations: 192 / 0.7786 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.005115, allocations: 8.375 kB / 0.7786 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.00512, allocations: 1.094 kB / 0.7786 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.687e-05/0.005147, allocations: 27.86 kB / 0.7787 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.005566, allocations: 224.8 kB / 0.7789 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.83e-05/0.005604, allocations: 26.98 kB / 0.7789 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.005622, allocations: 13.61 kB / 0.7789 GB, free: 1.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.005636, allocations: 4.781 kB / 0.7789 GB, free: 1.496 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.525e-05/0.005721, allocations: 79.8 kB / 0.779 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.005722, allocations: 1.031 kB / 0.779 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10): time 0.0001316/0.005854, allocations: 77.59 kB / 0.7791 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.005883, allocations: 51.41 kB / 0.7791 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.925e-05/0.005953, allocations: 139.5 kB / 0.7793 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.005971, allocations: 33.7 kB / 0.7793 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.006019, allocations: 113.3 kB / 0.7794 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.006036, allocations: 31.72 kB / 0.7794 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.006084, allocations: 45.67 kB / 0.7795 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.006153, allocations: 323.3 kB / 0.7798 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.0062, allocations: 57.62 kB / 0.7798 GB, free: 0.4922 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.366e-05/0.006274, allocations: 136.6 kB / 0.78 GB, free: 324 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.006384, allocations: 168.3 kB / 0.7801 GB, free: 112 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.006387, allocations: 4.594 kB / 0.7801 GB, free: 108 kB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001697/0.006557, allocations: 207.6 kB / 0.7803 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.006582, allocations: 33.7 kB / 0.7804 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.006588, allocations: 4 kB / 0.7804 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.006598, allocations: 9.281 kB / 0.7804 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.172e-05/0.00666, allocations: 19.98 kB / 0.7804 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.006666, allocations: 7.938 kB / 0.7804 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.344e-05/0.00676, allocations: 37.7 kB / 0.7804 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.006896, allocations: 12 kB / 0.7804 GB, free: 15.76 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.137e-05/0.006967, allocations: 137.7 kB / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-06/0.006977, allocations: 4 kB / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.007002, allocations: 16.77 kB / 0.7806 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.007004, allocations: 0.5 kB / 0.7806 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.007006, allocations: 0.5625 kB / 0.7806 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.00701, allocations: 0 / 0.7806 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.007229, allocations: 248.4 kB / 0.7808 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.00723, allocations: 4 kB / 0.7808 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.007269, allocations: 11.98 kB / 0.7808 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007271, allocations: 48 / 0.7808 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.007281, allocations: 5.203 kB / 0.7809 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007282, allocations: 0 / 0.7809 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.007283, allocations: 0 / 0.7809 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.007404, allocations: 184.4 kB / 0.781 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.428e-06/0.007414, allocations: 11.91 kB / 0.781 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.007426, allocations: 8 kB / 0.781 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.007461, allocations: 1.312 kB / 0.781 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.007489, allocations: 11.98 kB / 0.7811 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.007495, allocations: 7.984 kB / 0.7811 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.931e-05/0.007515, allocations: 23.94 kB / 0.7811 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007515, allocations: 0 / 0.7811 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001581/0.007673, allocations: 31.94 kB / 0.7811 GB, free: 15.03 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 9.639e-05/0.007769, allocations: 93.77 kB / 0.7812 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.007926, allocations: 167.2 kB / 0.7814 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.007929, allocations: 1 kB / 0.7814 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.007961, allocations: 28.84 kB / 0.7814 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.008097, allocations: 22.11 kB / 0.7814 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.008427, allocations: 261.3 kB / 0.7817 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.601e-05/0.008463, allocations: 65.09 kB / 0.7817 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.611e-05/0.0085, allocations: 15.89 kB / 0.7817 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.77e-05/0.008577, allocations: 79.36 kB / 0.7818 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of SimCode: time 3.5e-07/0.008578, allocations: 3.031 kB / 0.7818 GB, free: 14.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.003368/0.01195, allocations: 1.867 MB / 0.7836 GB, free: 12.49 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.132395036984235]