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.0009399/0.0009399, allocations: 80.81 kB / 21.54 MB, free: 2.949 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.001/0.001, allocations: 161.5 kB / 24.96 MB, free: 7.719 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.055/1.055, allocations: 177.1 MB / 205.4 MB, free: 5.492 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.98/1.98, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 178] 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.042e-06/1.042e-06, allocations: 0 / 0.776 GB, free: 5.355 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.159e-05, allocations: 2.312 kB / 0.776 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegratorWithReset): time 0.002309/0.002331, allocations: 1.902 MB / 0.7778 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007943/0.003125, allocations: 0.5684 MB / 0.7784 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.809e-05/0.003203, allocations: 7.938 kB / 0.7784 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.003318, allocations: 22.03 kB / 0.7784 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.697e-05/0.003385, allocations: 34.56 kB / 0.7784 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.003552, allocations: 71.84 kB / 0.7785 GB, free: 2.777 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.003711, allocations: 171.4 kB / 0.7787 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.003809, allocations: 49.8 kB / 0.7787 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.332e-05/0.003902, allocations: 75.8 kB / 0.7788 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.318e-05/0.003955, allocations: 43.83 kB / 0.7788 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.003975, allocations: 8 kB / 0.7788 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.003989, allocations: 15.94 kB / 0.7789 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.004014, allocations: 27.91 kB / 0.7789 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.004049, allocations: 39.84 kB / 0.7789 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.004168, allocations: 95.62 kB / 0.779 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.00417, allocations: 0 / 0.779 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.82e-07/0.004171, allocations: 7.531 kB / 0.779 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.004174, allocations: 0 / 0.779 GB, free: 2.262 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.0003634/0.004537, allocations: 368 kB / 0.7794 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.004567, allocations: 13.33 kB / 0.7794 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.004598, allocations: 20.92 kB / 0.7794 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.004758, allocations: 173.3 kB / 0.7796 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.004767, allocations: 8.375 kB / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.004789, allocations: 20.33 kB / 0.7796 GB, free: 1.629 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.004923, allocations: 135.7 kB / 0.7797 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.00493, allocations: 192 / 0.7797 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.00494, allocations: 4.375 kB / 0.7797 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.004946, allocations: 7.938 kB / 0.7797 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.839e-05/0.004985, allocations: 28.95 kB / 0.7798 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.005425, allocations: 0.5735 MB / 0.7803 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.31e-05/0.005469, allocations: 26.52 kB / 0.7803 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.005486, allocations: 12.86 kB / 0.7804 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.005501, allocations: 4 kB / 0.7804 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.368e-05/0.005595, allocations: 99.06 kB / 0.7805 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.005596, allocations: 1.031 kB / 0.7805 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001329/0.005729, allocations: 90.69 kB / 0.7805 GB, free: 0.5625 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.005786, allocations: 140.4 kB / 0.7807 GB, free: 404 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.34e-05/0.00588, allocations: 188.4 kB / 0.7809 GB, free: 204 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.005894, allocations: 30.7 kB / 0.7809 GB, free: 168 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.005945, allocations: 123.9 kB / 0.781 GB, free: 40 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.207e-05/0.005967, allocations: 39.67 kB / 0.781 GB, free: 0 / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.006018, allocations: 46.27 kB / 0.7811 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.347e-05/0.006091, allocations: 327.3 kB / 0.7814 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/0.006109, allocations: 11.98 kB / 0.7814 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.339e-05/0.006173, allocations: 120.3 kB / 0.7815 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.006275, allocations: 159.8 kB / 0.7817 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.006277, allocations: 0 / 0.7817 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001188/0.006395, allocations: 137 kB / 0.7818 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.006409, allocations: 11.94 kB / 0.7818 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.006415, allocations: 8.859 kB / 0.7818 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.006425, allocations: 4.234 kB / 0.7818 GB, free: 15.08 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.053e-05/0.006496, allocations: 36.48 kB / 0.7819 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.006501, allocations: 8.188 kB / 0.7819 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.006555, allocations: 21.36 kB / 0.7819 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.006564, allocations: 12 kB / 0.7819 GB, free: 15 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 6.631e-05/0.00663, allocations: 131.4 kB / 0.782 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.48e-05/0.006645, allocations: 21.08 kB / 0.7821 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.006674, allocations: 21.41 kB / 0.7821 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.006677, allocations: 4 kB / 0.7821 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.006679, allocations: 0.6562 kB / 0.7821 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.006689, allocations: 7.984 kB / 0.7821 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.006968, allocations: 342.9 kB / 0.7824 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.00697, allocations: 0 / 0.7824 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-05/0.007018, allocations: 20.42 kB / 0.7824 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.00702, allocations: 0.9375 kB / 0.7824 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.00703, allocations: 8 kB / 0.7824 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.007033, allocations: 3.938 kB / 0.7824 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.007036, allocations: 4.938 kB / 0.7825 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.007187, allocations: 265.3 kB / 0.7827 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.667e-05/0.007204, allocations: 19.84 kB / 0.7827 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.007216, allocations: 7.938 kB / 0.7827 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.462e-05/0.007281, allocations: 8.703 kB / 0.7827 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.007312, allocations: 16.67 kB / 0.7828 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.007318, allocations: 3.984 kB / 0.7828 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.334e-05/0.007351, allocations: 57.69 kB / 0.7828 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007351, allocations: 0 / 0.7828 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001718/0.007523, allocations: 27.95 kB / 0.7828 GB, free: 14 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 8.088e-05/0.007604, allocations: 90.05 kB / 0.7829 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.00771, allocations: 73.61 kB / 0.783 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.007714, allocations: 4 kB / 0.783 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.007752, allocations: 36.77 kB / 0.783 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.00802, allocations: 72.41 kB / 0.7831 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.008366, allocations: 321.2 kB / 0.7834 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.906e-05/0.008405, allocations: 72.89 kB / 0.7835 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.36e-05/0.008469, allocations: 23.53 kB / 0.7835 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.989e-05/0.008548, allocations: 87.3 kB / 0.7836 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/0.008549, allocations: 0 / 0.7836 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.003505/0.01205, allocations: 2.192 MB / 0.7857 GB, free: 11.12 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 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.103647049516439]