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.0009197/0.0009197, allocations: 88.2 kB / 20.19 MB, free: 4.359 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.0009622/0.0009622, allocations: 173 kB / 23.5 MB, free: 1.051 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.9373/0.9373, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.002134/0.002134, allocations: 240.9 kB / 260.5 MB, free: 12.89 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.7414/0.7414, allocations: 138.4 MB / 455.4 MB, free: 1.535 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 2.154e-06/2.154e-06, allocations: 0 / 0.5551 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.093e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001825/0.001856, allocations: 0.6001 MB / 0.5557 GB, free: 208 kB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008022/0.002658, allocations: 294.9 kB / 0.556 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.081e-05/0.002679, allocations: 0 / 0.556 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.002696, allocations: 0 / 0.556 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.002703, allocations: 4 kB / 0.556 GB, free: 15.91 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.003131, allocations: 111.6 kB / 0.5561 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.947e-05/0.003181, allocations: 3.984 kB / 0.5561 GB, free: 15.8 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.293e-05/0.003224, allocations: 3.984 kB / 0.5561 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.409e-05/0.003248, allocations: 7.938 kB / 0.5561 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.255e-05/0.00327, allocations: 0 / 0.5561 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.337e-05/0.003284, allocations: 0 / 0.5561 GB, free: 15.79 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002988/0.003583, allocations: 259.6 kB / 0.5563 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.003594, allocations: 4 kB / 0.5563 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.488e-05/0.003609, allocations: 0 / 0.5563 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001713/0.00378, allocations: 115.7 kB / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.003784, allocations: 0 / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.003785, allocations: 0 / 0.5564 GB, free: 15.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.00379, allocations: 0 / 0.5564 GB, free: 15.41 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.000268/0.004058, allocations: 356.2 kB / 0.5568 GB, free: 15.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.004105, allocations: 12.75 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.287e-05/0.004188, allocations: 0.9375 kB / 0.5568 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.374e-05/0.004252, allocations: 104.6 kB / 0.5569 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.004265, allocations: 4.359 kB / 0.5569 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.004277, allocations: 12.38 kB / 0.5569 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.212e-05/0.004359, allocations: 30.2 kB / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.004366, allocations: 192 / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-06/0.004375, allocations: 384 / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.004383, allocations: 384 / 0.5569 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.448e-05/0.004398, allocations: 11.88 kB / 0.557 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.004499, allocations: 104.6 kB / 0.5571 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.825e-05/0.004537, allocations: 27.09 kB / 0.5571 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.004557, allocations: 11.69 kB / 0.5571 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.004842, allocations: 52.02 kB / 0.5571 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.004865, allocations: 41.33 kB / 0.5572 GB, free: 14.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.004866, allocations: 0 / 0.5572 GB, free: 14.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001378/0.005003, allocations: 33.7 kB / 0.5572 GB, free: 14.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.005043, allocations: 51.41 kB / 0.5573 GB, free: 14.43 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.091e-05/0.005083, allocations: 142.2 kB / 0.5574 GB, free: 14.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.005092, allocations: 25.7 kB / 0.5574 GB, free: 14.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.797e-05/0.00512, allocations: 131 kB / 0.5575 GB, free: 14.11 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.005149, allocations: 8.234 kB / 0.5576 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.005172, allocations: 23.36 kB / 0.5576 GB, free: 14.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.005286, allocations: 0.4883 MB / 0.5581 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.218e-06/0.005296, allocations: 0 / 0.5581 GB, free: 13.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.005303, allocations: 4 kB / 0.5581 GB, free: 13.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.068e-05/0.005343, allocations: 11.62 kB / 0.5581 GB, free: 13.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.005345, allocations: 0 / 0.5581 GB, free: 13.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.636e-05/0.005391, allocations: 33.7 kB / 0.5581 GB, free: 13.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.005405, allocations: 10.91 kB / 0.5581 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.00541, allocations: 0 / 0.5581 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.005425, allocations: 3.984 kB / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.892e-05/0.005474, allocations: 4 kB / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.005479, allocations: 0 / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.317e-06/0.005488, allocations: 3.938 kB / 0.5581 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.005493, allocations: 0 / 0.5581 GB, free: 13.5 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 7.541e-05/0.005568, allocations: 160.6 kB / 0.5583 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.102e-05/0.005579, allocations: 0 / 0.5583 GB, free: 13.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.756e-05/0.005657, allocations: 44.62 kB / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.005659, allocations: 0 / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.005664, allocations: 4 kB / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.005667, allocations: 0 / 0.5583 GB, free: 13.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.342e-05/0.00572, allocations: 108.6 kB / 0.5584 GB, free: 13.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005721, allocations: 3.938 kB / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-06/0.005727, allocations: 4 kB / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.005729, allocations: 0 / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.005735, allocations: 0 / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.005735, allocations: 0 / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005736, allocations: 0 / 0.5584 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.921e-05/0.005795, allocations: 84.34 kB / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-06/0.005799, allocations: 0 / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-06/0.005807, allocations: 0 / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.38e-06/0.005812, allocations: 7.984 kB / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.005826, allocations: 0 / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.005827, allocations: 0 / 0.5585 GB, free: 13.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.614e-05/0.005863, allocations: 119.2 kB / 0.5586 GB, free: 12.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005863, allocations: 0 / 0.5586 GB, free: 12.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.006008, allocations: 11.98 kB / 0.5586 GB, free: 12.89 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.0001498/0.006158, allocations: 119.2 kB / 0.5588 GB, free: 12.76 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.42e-05/0.006222, allocations: 15.69 kB / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006223, allocations: 0 / 0.5588 GB, free: 12.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.783e-06/0.00623, allocations: 7.688 kB / 0.5588 GB, free: 12.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.562e-05/0.006326, allocations: 15.92 kB / 0.5588 GB, free: 12.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001666/0.006492, allocations: 83.94 kB / 0.5589 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.883e-05/0.006521, allocations: 51.36 kB / 0.5589 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.288e-05/0.006534, allocations: 4 kB / 0.5589 GB, free: 12.53 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.006547, allocations: 12.62 kB / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/0.006547, allocations: 0 / 0.5589 GB, free: 12.52 MB / 490.7 MB Notification: Performance of Templates: time 0.002103/0.00865, allocations: 0.4921 MB / 0.5594 GB, free: 12.03 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.5921540861018]