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.001146/0.001146, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001357/0.001357, allocations: 165 kB / 23.02 MB, free: 1.551 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.002/1.002, allocations: 177.1 MB / 203.4 MB, free: 5.57 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.005079/0.005079, allocations: 241.8 kB / 260.2 MB, free: 12.83 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.6944/0.6944, allocations: 138.5 MB / 455.2 MB, free: 1.457 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.573e-06/1.573e-06, allocations: 0 / 0.5552 GB, free: 392 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.259e-05, allocations: 2.312 kB / 0.5552 GB, free: 388 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001249/0.001281, allocations: 0.604 MB / 0.5558 GB, free: 15.77 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006474/0.001929, allocations: 298.9 kB / 0.5561 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.43e-05/0.001953, allocations: 4 kB / 0.5561 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.001978, allocations: 0 / 0.5561 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.115e-06/0.001986, allocations: 0 / 0.5561 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.002461, allocations: 111.6 kB / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.931e-05/0.00251, allocations: 0 / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.002552, allocations: 0 / 0.5562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.025e-05/0.002583, allocations: 8 kB / 0.5562 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.253e-05/0.002605, allocations: 0 / 0.5562 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.002621, allocations: 0 / 0.5562 GB, free: 15.36 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.002934, allocations: 263.6 kB / 0.5564 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.002948, allocations: 0 / 0.5564 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.002965, allocations: 3.984 kB / 0.5564 GB, free: 15.1 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.003157, allocations: 111.8 kB / 0.5565 GB, free: 14.99 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.00316, allocations: 0 / 0.5565 GB, free: 14.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.00316, allocations: 0 / 0.5565 GB, free: 14.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.003167, allocations: 0 / 0.5565 GB, free: 14.99 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.0003485/0.003516, allocations: 360.1 kB / 0.5569 GB, free: 14.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.003571, allocations: 12.75 kB / 0.5569 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.003681, allocations: 0.9375 kB / 0.5569 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.553e-05/0.003757, allocations: 108.6 kB / 0.557 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.003772, allocations: 4.375 kB / 0.557 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.003787, allocations: 4.375 kB / 0.557 GB, free: 14.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.435e-05/0.003882, allocations: 26.27 kB / 0.557 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.003892, allocations: 192 / 0.557 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.0039, allocations: 384 / 0.557 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.003909, allocations: 4.312 kB / 0.557 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.003928, allocations: 11.92 kB / 0.557 GB, free: 14.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001281/0.004056, allocations: 104.6 kB / 0.5571 GB, free: 14.26 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.291e-05/0.004109, allocations: 31.03 kB / 0.5572 GB, free: 14.22 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.931e-05/0.004129, allocations: 11.69 kB / 0.5572 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.00442, allocations: 47.97 kB / 0.5572 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.004443, allocations: 37.39 kB / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.004444, allocations: 0 / 0.5573 GB, free: 14.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.000144/0.004588, allocations: 41.62 kB / 0.5573 GB, free: 14.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.004614, allocations: 51.41 kB / 0.5574 GB, free: 14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.862e-05/0.004652, allocations: 142.4 kB / 0.5575 GB, free: 13.85 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.004662, allocations: 29.7 kB / 0.5575 GB, free: 13.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.004693, allocations: 126.9 kB / 0.5576 GB, free: 13.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.004722, allocations: 4.297 kB / 0.5576 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.004748, allocations: 23.38 kB / 0.5577 GB, free: 13.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.004865, allocations: 496.1 kB / 0.5581 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.968e-06/0.004875, allocations: 0 / 0.5581 GB, free: 13.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.431e-06/0.00488, allocations: 0 / 0.5581 GB, free: 13.15 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.174e-05/0.004912, allocations: 19.67 kB / 0.5582 GB, free: 13.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.004914, allocations: 0 / 0.5582 GB, free: 13.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.326e-05/0.004968, allocations: 45.69 kB / 0.5582 GB, free: 13.08 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.00498, allocations: 4 kB / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.004985, allocations: 0 / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.005002, allocations: 0 / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.095e-05/0.005053, allocations: 4 kB / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.005058, allocations: 0 / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.437e-06/0.005068, allocations: 3.938 kB / 0.5582 GB, free: 13.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.005073, allocations: 0 / 0.5582 GB, free: 13.07 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 5.851e-05/0.005131, allocations: 164.6 kB / 0.5584 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.062e-05/0.005142, allocations: 0 / 0.5584 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.864e-05/0.005211, allocations: 36.73 kB / 0.5584 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.005212, allocations: 0 / 0.5584 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.005216, allocations: 0 / 0.5584 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.005218, allocations: 0 / 0.5584 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.678e-05/0.005275, allocations: 120.5 kB / 0.5585 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.005277, allocations: 0 / 0.5585 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.273e-06/0.005284, allocations: 3.938 kB / 0.5585 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005285, allocations: 4 kB / 0.5585 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.005291, allocations: 0 / 0.5585 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.005291, allocations: 0 / 0.5585 GB, free: 12.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.005292, allocations: 4.031 kB / 0.5585 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.816e-05/0.00535, allocations: 76.38 kB / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.217e-06/0.005354, allocations: 0 / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.005364, allocations: 0 / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.596e-06/0.005367, allocations: 0 / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.005383, allocations: 4 kB / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.005385, allocations: 0 / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.079e-05/0.005416, allocations: 119.2 kB / 0.5587 GB, free: 12.47 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005416, allocations: 0 / 0.5587 GB, free: 12.47 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001335/0.005549, allocations: 8 kB / 0.5587 GB, free: 12.46 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.0001258/0.005675, allocations: 131.1 kB / 0.5589 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.169e-05/0.005737, allocations: 11.62 kB / 0.5589 GB, free: 12.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.005738, allocations: 4 kB / 0.5589 GB, free: 12.31 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.631e-06/0.005744, allocations: 7.688 kB / 0.5589 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.247e-05/0.005836, allocations: 0 / 0.5589 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001673/0.006003, allocations: 91.73 kB / 0.559 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.873e-05/0.006032, allocations: 55.34 kB / 0.559 GB, free: 12.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.491e-05/0.006047, allocations: 8.125 kB / 0.559 GB, free: 12.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.006062, allocations: 8.5 kB / 0.559 GB, free: 12.09 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006062, allocations: 0 / 0.559 GB, free: 12.09 MB / 490.7 MB Notification: Performance of Templates: time 0.001963/0.008025, allocations: 0.4885 MB / 0.5595 GB, free: 11.61 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.848831166047603]