Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.001399/0.001399, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.001322/0.001322, allocations: 174 kB / 25.05 MB, free: 9.152 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 0.9638/0.9638, allocations: 177.1 MB / 205.5 MB, free: 5.438 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.043/2.043, allocations: 389.6 MB / 0.6363 GB, free: 12.27 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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.245e-05/2.397e-05, allocations: 3.938 kB / 0.7761 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002321/0.002345, allocations: 1.55 MB / 0.7777 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0005949/0.00294, allocations: 367 kB / 0.778 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.775e-05/0.002978, allocations: 3.219 kB / 0.778 GB, free: 3.402 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.367e-05/0.003022, allocations: 3.938 kB / 0.778 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.061e-05/0.003082, allocations: 5.531 kB / 0.778 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003884/0.003471, allocations: 89.05 kB / 0.7781 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.159e-05/0.003552, allocations: 27.56 kB / 0.7781 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.396e-05/0.003646, allocations: 7.984 kB / 0.7781 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.247e-05/0.003709, allocations: 12.75 kB / 0.7781 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.153e-05/0.00375, allocations: 12.97 kB / 0.7782 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.003766, allocations: 4 kB / 0.7782 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003348/0.004101, allocations: 271.6 kB / 0.7784 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.953e-05/0.00412, allocations: 18.5 kB / 0.7784 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.004136, allocations: 5.312 kB / 0.7784 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.004317, allocations: 136.8 kB / 0.7786 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004319, allocations: 1.719 kB / 0.7786 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.293e-06/0.00432, allocations: 0 / 0.7786 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.004323, allocations: 0 / 0.7786 GB, free: 2.836 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003094/0.004633, allocations: 260.7 kB / 0.7788 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.004669, allocations: 10.16 kB / 0.7788 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.91e-05/0.004738, allocations: 4.938 kB / 0.7788 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/0.004834, allocations: 109.8 kB / 0.7789 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.004844, allocations: 8.859 kB / 0.779 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.004854, allocations: 1.125 kB / 0.779 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.874e-05/0.004953, allocations: 50.95 kB / 0.779 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.00496, allocations: 2.781 kB / 0.779 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.004968, allocations: 4.312 kB / 0.779 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.004974, allocations: 4.359 kB / 0.779 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.04e-05/0.004995, allocations: 7.938 kB / 0.779 GB, free: 2.328 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.005188, allocations: 148.3 kB / 0.7792 GB, free: 2.168 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.062e-05/0.005228, allocations: 18.58 kB / 0.7792 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/0.005244, allocations: 11.67 kB / 0.7792 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.005503, allocations: 74.44 kB / 0.7793 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.005527, allocations: 38.5 kB / 0.7793 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.005528, allocations: 0 / 0.7793 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001297/0.005657, allocations: 33.7 kB / 0.7793 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.005687, allocations: 55.34 kB / 0.7794 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.796e-05/0.005745, allocations: 111.3 kB / 0.7795 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.005755, allocations: 25.7 kB / 0.7795 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.005783, allocations: 85.27 kB / 0.7796 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.005798, allocations: 3.953 kB / 0.7796 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/0.005823, allocations: 21.7 kB / 0.7796 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.865e-05/0.005901, allocations: 315.6 kB / 0.7799 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.935e-06/0.005909, allocations: 0 / 0.7799 GB, free: 1.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-06/0.005919, allocations: 8.719 kB / 0.7799 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.992e-05/0.005939, allocations: 17.41 kB / 0.7799 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.00594, allocations: 0.8438 kB / 0.7799 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.653e-05/0.005997, allocations: 33.95 kB / 0.78 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.006008, allocations: 5.438 kB / 0.78 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.006013, allocations: 0 / 0.78 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.006021, allocations: 4 kB / 0.78 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.692e-05/0.006068, allocations: 15.92 kB / 0.78 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.006071, allocations: 0.6562 kB / 0.78 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.508e-05/0.006086, allocations: 5.5 kB / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.457e-06/0.006089, allocations: 0 / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 4.937e-05/0.006138, allocations: 109.8 kB / 0.7801 GB, free: 1.109 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.006162, allocations: 4 kB / 0.7801 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.006222, allocations: 46.17 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.006224, allocations: 0.875 kB / 0.7802 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.006228, allocations: 7.938 kB / 0.7802 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.006231, allocations: 0 / 0.7802 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.764e-05/0.006309, allocations: 67.64 kB / 0.7802 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.00631, allocations: 0 / 0.7802 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.006326, allocations: 7.984 kB / 0.7802 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.006327, allocations: 0 / 0.7802 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.006331, allocations: 0.5 kB / 0.7802 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.32e-07/0.006332, allocations: 4 kB / 0.7802 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006333, allocations: 1.094 kB / 0.7802 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.577e-05/0.006408, allocations: 135.4 kB / 0.7804 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.006419, allocations: 20.83 kB / 0.7804 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-06/0.006426, allocations: 0 / 0.7804 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.711e-05/0.006453, allocations: 0.5312 kB / 0.7804 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.006479, allocations: 7.984 kB / 0.7804 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-06/0.006481, allocations: 0.5938 kB / 0.7804 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.178e-05/0.006493, allocations: 14.14 kB / 0.7804 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006493, allocations: 0 / 0.7804 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000125/0.006618, allocations: 12 kB / 0.7804 GB, free: 0.7539 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001101/0.006728, allocations: 93.59 kB / 0.7805 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.432e-05/0.006793, allocations: 20.84 kB / 0.7805 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.006796, allocations: 1.562 kB / 0.7805 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.006809, allocations: 16.73 kB / 0.7806 GB, free: 0.6133 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.006936, allocations: 7.984 kB / 0.7806 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001948/0.007131, allocations: 110.2 kB / 0.7807 GB, free: 484 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.892e-05/0.00716, allocations: 51.36 kB / 0.7807 GB, free: 412 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.57e-05/0.007176, allocations: 5.031 kB / 0.7807 GB, free: 408 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.00721, allocations: 47.38 kB / 0.7808 GB, free: 360 kB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.007211, allocations: 0 / 0.7808 GB, free: 360 kB / 0.7292 GB Notification: Performance of Templates: time 0.002284/0.009495, allocations: 0.7988 MB / 0.7815 GB, free: 15.59 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.096801892854273]