Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.001418/0.001418, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001389/0.001389, allocations: 169 kB / 24.06 MB, free: 456 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.996/0.996, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001755/0.001755, allocations: 241.5 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7816/0.7816, allocations: 138.4 MB / 456.3 MB, free: 1.363 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.5564 GB, free: 136 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.376e-05, allocations: 6.25 kB / 0.5564 GB, free: 128 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.004505/0.004529, allocations: 0.6079 MB / 0.557 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005243/0.005053, allocations: 290.9 kB / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.005072, allocations: 0 / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.465e-05/0.005086, allocations: 0 / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.382e-06/0.005093, allocations: 4 kB / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.005492, allocations: 107.6 kB / 0.5574 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.938e-05/0.005531, allocations: 4 kB / 0.5574 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.566e-05/0.005567, allocations: 0 / 0.5574 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.113e-05/0.005588, allocations: 0 / 0.5574 GB, free: 15.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.374e-05/0.005612, allocations: 4 kB / 0.5574 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.005623, allocations: 0 / 0.5574 GB, free: 15.11 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003472/0.00597, allocations: 259.6 kB / 0.5577 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.005984, allocations: 8 kB / 0.5577 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-06/0.005993, allocations: 0 / 0.5577 GB, free: 14.85 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.006169, allocations: 107.8 kB / 0.5578 GB, free: 14.75 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.006172, allocations: 0 / 0.5578 GB, free: 14.75 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.006173, allocations: 7.938 kB / 0.5578 GB, free: 14.74 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.006177, allocations: 0 / 0.5578 GB, free: 14.74 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002509/0.006428, allocations: 360.2 kB / 0.5581 GB, free: 14.35 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.006463, allocations: 8.75 kB / 0.5581 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.006519, allocations: 4.938 kB / 0.5581 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.919e-05/0.006578, allocations: 104.6 kB / 0.5582 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.006587, allocations: 384 / 0.5582 GB, free: 14.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.091e-06/0.006593, allocations: 8.375 kB / 0.5582 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.708e-05/0.00665, allocations: 30.27 kB / 0.5583 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.006657, allocations: 192 / 0.5583 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.572e-06/0.006664, allocations: 4.359 kB / 0.5583 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.006668, allocations: 4.312 kB / 0.5583 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.158e-05/0.00668, allocations: 7.922 kB / 0.5583 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.238e-05/0.006762, allocations: 93.27 kB / 0.5584 GB, free: 14.03 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.376e-05/0.006796, allocations: 27 kB / 0.5584 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.153e-05/0.006807, allocations: 11.78 kB / 0.5584 GB, free: 13.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.007046, allocations: 43.97 kB / 0.5585 GB, free: 13.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.00707, allocations: 37.39 kB / 0.5585 GB, free: 13.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.007071, allocations: 0 / 0.5585 GB, free: 13.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000132/0.007203, allocations: 41.62 kB / 0.5585 GB, free: 13.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/0.007234, allocations: 51.41 kB / 0.5586 GB, free: 13.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.13e-05/0.007276, allocations: 142.2 kB / 0.5587 GB, free: 13.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.007285, allocations: 29.7 kB / 0.5587 GB, free: 13.59 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.357e-05/0.007318, allocations: 131 kB / 0.5589 GB, free: 13.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.007348, allocations: 8.234 kB / 0.5589 GB, free: 13.45 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.007375, allocations: 15.38 kB / 0.5589 GB, free: 13.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.007502, allocations: 0.4883 MB / 0.5594 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.306e-06/0.007511, allocations: 0 / 0.5594 GB, free: 12.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-06/0.007516, allocations: 0 / 0.5594 GB, free: 12.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.672e-05/0.007543, allocations: 15.67 kB / 0.5594 GB, free: 12.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.007545, allocations: 0 / 0.5594 GB, free: 12.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.891e-05/0.007614, allocations: 37.62 kB / 0.5594 GB, free: 12.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.007628, allocations: 12.09 kB / 0.5594 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.007633, allocations: 0 / 0.5594 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.007642, allocations: 0 / 0.5594 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.1e-05/0.007673, allocations: 0 / 0.5594 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.007677, allocations: 3.984 kB / 0.5594 GB, free: 12.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.164e-05/0.007689, allocations: 8 kB / 0.5594 GB, free: 12.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.268e-06/0.007693, allocations: 0 / 0.5594 GB, free: 12.84 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * 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.382e-05/0.007757, allocations: 156.5 kB / 0.5596 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.007773, allocations: 0 / 0.5596 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.699e-05/0.00784, allocations: 44.69 kB / 0.5596 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007842, allocations: 0 / 0.5596 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.007843, allocations: 0 / 0.5596 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.007845, allocations: 0 / 0.5596 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.522e-05/0.00791, allocations: 101.1 kB / 0.5597 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007911, allocations: 3.938 kB / 0.5597 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.796e-06/0.00792, allocations: 4 kB / 0.5597 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.007923, allocations: 3.984 kB / 0.5597 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-06/0.007926, allocations: 0 / 0.5597 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.007927, allocations: 0 / 0.5597 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007928, allocations: 0 / 0.5597 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.415e-05/0.008002, allocations: 76.42 kB / 0.5598 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-06/0.008007, allocations: 4 kB / 0.5598 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.008015, allocations: 0 / 0.5598 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.008022, allocations: 3.984 kB / 0.5598 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-06/0.008031, allocations: 0 / 0.5598 GB, free: 12.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.008033, allocations: 0 / 0.5598 GB, free: 12.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.331e-05/0.008066, allocations: 119.2 kB / 0.5599 GB, free: 12.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008066, allocations: 0 / 0.5599 GB, free: 12.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001903/0.008257, allocations: 12 kB / 0.5599 GB, free: 12.26 MB / 490.7 MB 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 (1): * Single equations (assignments): 1 * 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.0001465/0.008403, allocations: 115.2 kB / 0.5601 GB, free: 12.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.558e-05/0.008459, allocations: 15.67 kB / 0.5601 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-06/0.00846, allocations: 0 / 0.5601 GB, free: 12.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.913e-06/0.008467, allocations: 7.688 kB / 0.5601 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.008585, allocations: 14.88 kB / 0.5601 GB, free: 12.09 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001408/0.008725, allocations: 87.94 kB / 0.5602 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.807e-05/0.008753, allocations: 55.36 kB / 0.5602 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.643e-05/0.00877, allocations: 0 / 0.5602 GB, free: 11.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.286e-05/0.008803, allocations: 74.31 kB / 0.5603 GB, free: 11.83 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/0.008804, allocations: 0 / 0.5603 GB, free: 11.83 MB / 490.7 MB Notification: Performance of Templates: time 0.005196/0.014, allocations: 0.5468 MB / 0.5608 GB, free: 11.29 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.709300722926855]