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.0008807/0.0008807, allocations: 84.38 kB / 15.06 MB, free: 1.09 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: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001814, allocations: 269.7 kB / 291.3 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9499/0.9499, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004427, allocations: 15.78 kB / 0.598 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1727, allocations: 88.55 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006628/0.1734, allocations: 307.3 kB / 0.6848 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000583/0.174, allocations: 295.8 kB / 0.6851 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.33e-05/0.174, allocations: 0.625 kB / 0.6851 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.1741, allocations: 0.75 kB / 0.6851 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.454e-06/0.1741, allocations: 0 / 0.6851 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.1744, allocations: 80.22 kB / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.103e-05/0.1745, allocations: 0 / 0.6851 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.1746, allocations: 4 kB / 0.6852 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.06e-05/0.1746, allocations: 0 / 0.6852 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.371e-05/0.1746, allocations: 0 / 0.6852 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.1746, allocations: 3.938 kB / 0.6852 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.175, allocations: 271.6 kB / 0.6854 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-06/0.175, allocations: 4 kB / 0.6854 GB, free: 14.53 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.855e-05/0.1751, allocations: 25.7 kB / 0.6854 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.1752, allocations: 55.84 kB / 0.6855 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.1752, allocations: 0.625 kB / 0.6855 GB, free: 14.44 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1752, allocations: 0.625 kB / 0.6855 GB, free: 14.44 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1752, allocations: 0 / 0.6855 GB, free: 14.44 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.0003062/0.1756, allocations: 328.9 kB / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1756, allocations: 8.031 kB / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.305e-05/0.1757, allocations: 0 / 0.6858 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.713e-05/0.1757, allocations: 168.7 kB / 0.686 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1758, allocations: 0 / 0.686 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.1758, allocations: 0 / 0.686 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.1759, allocations: 38.81 kB / 0.686 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.1759, allocations: 0 / 0.686 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1759, allocations: 0 / 0.686 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1759, allocations: 0 / 0.686 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.1759, allocations: 4.562 kB / 0.686 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.1761, allocations: 150.5 kB / 0.6862 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.398e-05/0.1761, allocations: 20.36 kB / 0.6862 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.864e-05/0.1761, allocations: 16.88 kB / 0.6862 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004556/0.1766, allocations: 423.9 kB / 0.6866 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1766, allocations: 38.55 kB / 0.6866 GB, free: 13.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.1766, allocations: 0.75 kB / 0.6866 GB, free: 13.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.1768, allocations: 30.36 kB / 0.6867 GB, free: 12.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.1768, allocations: 51.41 kB / 0.6867 GB, free: 12.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.437e-05/0.1769, allocations: 91.7 kB / 0.6868 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.1769, allocations: 25.7 kB / 0.6868 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.1769, allocations: 80.14 kB / 0.6869 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.1769, allocations: 4.281 kB / 0.6869 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-06/0.1769, allocations: 2.719 kB / 0.6869 GB, free: 12.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.177, allocations: 318.8 kB / 0.6872 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-06/0.177, allocations: 0 / 0.6872 GB, free: 12.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.475e-06/0.1771, allocations: 3.938 kB / 0.6872 GB, free: 12.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.1e-05/0.1771, allocations: 11.92 kB / 0.6872 GB, free: 12.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1771, allocations: 0.7812 kB / 0.6872 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.673e-05/0.1772, allocations: 29.7 kB / 0.6873 GB, free: 12.34 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1772, allocations: 12.22 kB / 0.6873 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1772, allocations: 4 kB / 0.6873 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1772, allocations: 0 / 0.6873 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.743e-05/0.1772, allocations: 0 / 0.6873 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1773, allocations: 4.812 kB / 0.6873 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.085e-05/0.1773, allocations: 3.938 kB / 0.6873 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1773, allocations: 4.5 kB / 0.6873 GB, free: 12.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/0.1774, allocations: 111.5 kB / 0.6874 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.1774, allocations: 3.984 kB / 0.6874 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.788e-05/0.1775, allocations: 41.73 kB / 0.6874 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1775, allocations: 4.531 kB / 0.6874 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1775, allocations: 256 / 0.6874 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1775, allocations: 4 kB / 0.6875 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.797e-05/0.1776, allocations: 149.6 kB / 0.6876 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.1776, allocations: 0 / 0.6876 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.1776, allocations: 4 kB / 0.6876 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.1776, allocations: 0 / 0.6876 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.488e-06/0.1776, allocations: 0 / 0.6876 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1776, allocations: 0 / 0.6876 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1776, allocations: 0 / 0.6876 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.173e-05/0.1777, allocations: 72.97 kB / 0.6877 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.1778, allocations: 81.06 kB / 0.6877 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.298e-06/0.1778, allocations: 0 / 0.6877 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-06/0.1778, allocations: 0 / 0.6877 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.572e-05/0.1778, allocations: 0 / 0.6877 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.1778, allocations: 0 / 0.6877 GB, free: 11.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.492e-05/0.1778, allocations: 79.28 kB / 0.6878 GB, free: 11.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1779, allocations: 0 / 0.6878 GB, free: 11.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001903/0.178, allocations: 12 kB / 0.6878 GB, free: 11.66 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001971/0.1782, allocations: 119.3 kB / 0.6879 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.672e-05/0.1783, allocations: 0 / 0.6879 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1783, allocations: 4 kB / 0.6879 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.29e-06/0.1783, allocations: 3.938 kB / 0.688 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001361/0.1785, allocations: 0 / 0.688 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001625/0.1786, allocations: 82.69 kB / 0.688 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1789, allocations: 0.6692 MB / 0.6887 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.638e-05/0.1789, allocations: 4.125 kB / 0.6887 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.269e-05/0.1789, allocations: 7.438 kB / 0.6887 GB, free: 10.71 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1789, allocations: 4 kB / 0.6887 GB, free: 10.71 MB / 494.1 MB Notification: Performance of Templates: time 0.002385/0.1813, allocations: 446 kB / 0.6891 GB, free: 10.28 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)