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.001038/0.001038, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.009944/0.009944, allocations: 174.1 kB / 16.26 MB, free: 6.273 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001613/0.001613, allocations: 274.1 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9397/0.9397, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004228, allocations: 16.08 kB / 0.5987 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1634, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0007068/0.1642, allocations: 311.3 kB / 0.6854 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006834/0.1649, allocations: 353.5 kB / 0.6858 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.989e-06/0.1649, allocations: 0 / 0.6858 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.384e-05/0.1649, allocations: 0 / 0.6858 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.779e-06/0.1649, allocations: 0 / 0.6858 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.1653, allocations: 76.16 kB / 0.6858 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.593e-05/0.1653, allocations: 3.938 kB / 0.6858 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.1653, allocations: 3.938 kB / 0.6859 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.528e-05/0.1654, allocations: 4 kB / 0.6859 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.046e-05/0.1654, allocations: 0.5625 kB / 0.6859 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.1654, allocations: 0 / 0.6859 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.1658, allocations: 272.2 kB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.418e-06/0.1658, allocations: 0.5312 kB / 0.6861 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1658, allocations: 37.62 kB / 0.6862 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.166, allocations: 86.05 kB / 0.6862 GB, free: 13.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.166, allocations: 0 / 0.6862 GB, free: 13.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.166, allocations: 0 / 0.6862 GB, free: 13.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.166, allocations: 0 / 0.6862 GB, free: 13.95 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.0002769/0.1663, allocations: 331.6 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1664, allocations: 8.594 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.1664, allocations: 2.031 kB / 0.6866 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.359e-05/0.1665, allocations: 160.4 kB / 0.6867 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1665, allocations: 4.375 kB / 0.6867 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.937e-06/0.1665, allocations: 1.938 kB / 0.6867 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.405e-05/0.1666, allocations: 38.23 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.1666, allocations: 192 / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1666, allocations: 4.469 kB / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1667, allocations: 0 / 0.6868 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.393e-05/0.1667, allocations: 9.75 kB / 0.6868 GB, free: 13.31 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.1668, allocations: 141.7 kB / 0.6869 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.704e-05/0.1669, allocations: 19.42 kB / 0.6869 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.1669, allocations: 8.953 kB / 0.6869 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004675/0.1674, allocations: 421.4 kB / 0.6873 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1674, allocations: 42.55 kB / 0.6874 GB, free: 12.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1674, allocations: 0 / 0.6874 GB, free: 12.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001492/0.1676, allocations: 37.58 kB / 0.6874 GB, free: 12.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.1676, allocations: 56.47 kB / 0.6875 GB, free: 12.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.227e-05/0.1676, allocations: 89.86 kB / 0.6876 GB, free: 12.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.1676, allocations: 26.36 kB / 0.6876 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.642e-05/0.1677, allocations: 84.14 kB / 0.6877 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.1677, allocations: 1.156 kB / 0.6877 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.1677, allocations: 9.719 kB / 0.6877 GB, free: 12.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.1678, allocations: 315.6 kB / 0.688 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-06/0.1679, allocations: 0.625 kB / 0.688 GB, free: 11.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.1679, allocations: 5.812 kB / 0.688 GB, free: 11.88 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.1679, allocations: 8.844 kB / 0.688 GB, free: 11.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1679, allocations: 0 / 0.688 GB, free: 11.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.019e-05/0.168, allocations: 37.83 kB / 0.688 GB, free: 11.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.168, allocations: 11.97 kB / 0.688 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.168, allocations: 0 / 0.688 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.168, allocations: 3.938 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.027e-05/0.1681, allocations: 4 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1681, allocations: 0 / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.12e-05/0.1681, allocations: 3.938 kB / 0.688 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.1681, allocations: 0 / 0.688 GB, free: 11.8 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.87e-05/0.1682, allocations: 115.1 kB / 0.6882 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.1682, allocations: 4 kB / 0.6882 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.086e-05/0.1683, allocations: 44.7 kB / 0.6882 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1683, allocations: 0 / 0.6882 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1683, allocations: 4 kB / 0.6882 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1683, allocations: 0 / 0.6882 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.394e-05/0.1684, allocations: 145.7 kB / 0.6883 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1684, allocations: 4 kB / 0.6883 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.024e-05/0.1684, allocations: 0 / 0.6883 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.1684, allocations: 0 / 0.6883 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1684, allocations: 3.938 kB / 0.6883 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1684, allocations: 4.031 kB / 0.6884 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1684, allocations: 0 / 0.6884 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.344e-05/0.1685, allocations: 61.12 kB / 0.6884 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.1686, allocations: 81.02 kB / 0.6885 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.1686, allocations: 3.938 kB / 0.6885 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.969e-06/0.1686, allocations: 4 kB / 0.6885 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.1686, allocations: 3.938 kB / 0.6885 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.1686, allocations: 7.969 kB / 0.6885 GB, free: 11.22 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.271e-05/0.1687, allocations: 75.28 kB / 0.6886 GB, free: 11.14 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1687, allocations: 0 / 0.6886 GB, free: 11.14 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.1689, allocations: 12 kB / 0.6886 GB, free: 11.13 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.0001753/0.169, allocations: 115.2 kB / 0.6887 GB, free: 11.01 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.602e-05/0.1691, allocations: 4 kB / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1691, allocations: 0 / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.125e-06/0.1691, allocations: 4.062 kB / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.1692, allocations: 4.062 kB / 0.6887 GB, free: 11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001648/0.1694, allocations: 78.75 kB / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.1696, allocations: 0.6731 MB / 0.6894 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.743e-05/0.1697, allocations: 0 / 0.6894 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.125e-05/0.1697, allocations: 7.438 kB / 0.6895 GB, free: 10.19 MB / 494.1 MB Notification: Performance of SimCode: time 1.653e-06/0.1697, allocations: 0 / 0.6895 GB, free: 10.19 MB / 494.1 MB Notification: Performance of Templates: time 0.002368/0.1721, allocations: 460.7 kB / 0.6899 GB, free: 9.738 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)