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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 191.8 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 282.4 kB / 290.4 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9719/0.9719, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001635, allocations: 86.45 kB / 0.5947 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1716, allocations: 86.99 MB / 0.6796 GB, free: 1.012 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001755/0.1734, allocations: 0.6367 MB / 0.6803 GB, free: 392 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006123/0.174, allocations: 335.3 kB / 0.6806 GB, free: 56 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.41e-05/0.174, allocations: 2.438 kB / 0.6806 GB, free: 56 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.1741, allocations: 0 / 0.6806 GB, free: 56 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 6.372e-06/0.1741, allocations: 0 / 0.6806 GB, free: 56 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.1745, allocations: 83.89 kB / 0.6807 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.945e-05/0.1746, allocations: 4.75 kB / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.1746, allocations: 4 kB / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.557e-05/0.1746, allocations: 4.766 kB / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.996e-05/0.1747, allocations: 0 / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1747, allocations: 1.719 kB / 0.6807 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003758/0.1751, allocations: 279.6 kB / 0.681 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.1751, allocations: 0 / 0.681 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.1751, allocations: 0 / 0.681 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.1753, allocations: 83.8 kB / 0.681 GB, free: 15.61 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.1753, allocations: 4.656 kB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1753, allocations: 1.844 kB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.583e-06/0.1753, allocations: 0 / 0.681 GB, free: 15.6 MB / 494.1 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.0003311/0.1756, allocations: 335.5 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1757, allocations: 12.03 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.1757, allocations: 3.75 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1758, allocations: 164.6 kB / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.1759, allocations: 4.359 kB / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.1759, allocations: 384 / 0.6815 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.588e-05/0.176, allocations: 34.25 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.176, allocations: 192 / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.176, allocations: 3.938 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.176, allocations: 0.5938 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.801e-05/0.176, allocations: 0.875 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001313/0.1762, allocations: 154.2 kB / 0.6817 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.667e-05/0.1762, allocations: 15.64 kB / 0.6817 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.1762, allocations: 8.953 kB / 0.6817 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/0.1767, allocations: 430.5 kB / 0.6822 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1768, allocations: 38.55 kB / 0.6822 GB, free: 14.17 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1768, allocations: 0 / 0.6822 GB, free: 14.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001524/0.1769, allocations: 41.58 kB / 0.6822 GB, free: 14.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.177, allocations: 51.41 kB / 0.6823 GB, free: 14.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.142e-05/0.177, allocations: 89.86 kB / 0.6824 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.177, allocations: 25.83 kB / 0.6824 GB, free: 13.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.348e-05/0.1771, allocations: 84.14 kB / 0.6825 GB, free: 13.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.335e-05/0.1771, allocations: 7.938 kB / 0.6825 GB, free: 13.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.1771, allocations: 9.719 kB / 0.6825 GB, free: 13.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.1772, allocations: 314.8 kB / 0.6828 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.1773, allocations: 4 kB / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.06e-06/0.1773, allocations: 0 / 0.6828 GB, free: 13.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.486e-05/0.1773, allocations: 12.86 kB / 0.6828 GB, free: 13.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1773, allocations: 4.062 kB / 0.6828 GB, free: 13.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.728e-05/0.1774, allocations: 33.64 kB / 0.6828 GB, free: 13.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1774, allocations: 4 kB / 0.6828 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1774, allocations: 3.938 kB / 0.6828 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1774, allocations: 7.938 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.727e-05/0.1775, allocations: 0 / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.1775, allocations: 0 / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.094e-05/0.1775, allocations: 3.984 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1775, allocations: 0 / 0.6829 GB, free: 13.43 MB / 494.1 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.869e-05/0.1776, allocations: 114.5 kB / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.1776, allocations: 0 / 0.683 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.1777, allocations: 40.77 kB / 0.683 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1777, allocations: 0 / 0.683 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1777, allocations: 0 / 0.683 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1777, allocations: 7.984 kB / 0.683 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.934e-05/0.1778, allocations: 145.6 kB / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1778, allocations: 0 / 0.6832 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-05/0.1778, allocations: 3.938 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1778, allocations: 4.031 kB / 0.6832 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1778, allocations: 7.938 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1778, allocations: 4 kB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1778, allocations: 0 / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.026e-05/0.1779, allocations: 57.12 kB / 0.6832 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.1779, allocations: 85.02 kB / 0.6833 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.178, allocations: 3.938 kB / 0.6833 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.202e-06/0.178, allocations: 4.031 kB / 0.6833 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.178, allocations: 0 / 0.6833 GB, free: 12.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.178, allocations: 0 / 0.6833 GB, free: 12.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.889e-05/0.178, allocations: 75.28 kB / 0.6834 GB, free: 12.78 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.178, allocations: 0 / 0.6834 GB, free: 12.78 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001792/0.1782, allocations: 15.98 kB / 0.6834 GB, free: 12.77 MB / 494.1 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.0001652/0.1784, allocations: 111.8 kB / 0.6835 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.838e-05/0.1785, allocations: 8 kB / 0.6835 GB, free: 12.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1785, allocations: 4.062 kB / 0.6835 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.961e-06/0.1785, allocations: 4 kB / 0.6835 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.1786, allocations: 3.531 kB / 0.6835 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000156/0.1788, allocations: 77.06 kB / 0.6836 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.179, allocations: 0.669 MB / 0.6843 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.404e-05/0.179, allocations: 3.938 kB / 0.6843 GB, free: 11.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.152e-05/0.179, allocations: 11.44 kB / 0.6843 GB, free: 11.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.179, allocations: 4.062 kB / 0.6843 GB, free: 11.82 MB / 494.1 MB Notification: Performance of Templates: time 0.002271/0.1813, allocations: 476.7 kB / 0.6847 GB, free: 11.35 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)