Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001111/0.001111, allocations: 104.3 kB / 16.41 MB, free: 6.457 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.001104/0.001104, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8167/0.8167, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.09 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.165/0.1662, allocations: 82.04 MB / 0.6764 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001744/0.168, allocations: 0.5851 MB / 0.6769 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006581/0.1687, allocations: 323.2 kB / 0.6772 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.559e-05/0.1688, allocations: 0 / 0.6772 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.1688, allocations: 4 kB / 0.6772 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-06/0.1688, allocations: 0 / 0.6772 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004823/0.1693, allocations: 114.4 kB / 0.6773 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.191e-05/0.1694, allocations: 7.984 kB / 0.6774 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.1694, allocations: 0 / 0.6774 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.297e-05/0.1694, allocations: 0 / 0.6774 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.019e-05/0.1694, allocations: 0 / 0.6774 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.255e-06/0.1695, allocations: 0 / 0.6774 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004042/0.1699, allocations: 279.6 kB / 0.6776 GB, free: 9.02 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.758e-06/0.1699, allocations: 4 kB / 0.6776 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.825e-05/0.1699, allocations: 3.938 kB / 0.6776 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.1701, allocations: 91.78 kB / 0.6777 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1701, allocations: 4 kB / 0.6777 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1701, allocations: 0 / 0.6777 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.1701, allocations: 0 / 0.6777 GB, free: 8.918 MB / 0.5137 GB 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.0003297/0.1705, allocations: 339.5 kB / 0.678 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1705, allocations: 8.031 kB / 0.678 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/0.1706, allocations: 0.9375 kB / 0.678 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.357e-05/0.1707, allocations: 164.4 kB / 0.6782 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.1707, allocations: 8.375 kB / 0.6782 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.978e-06/0.1707, allocations: 384 / 0.6782 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.587e-05/0.1708, allocations: 26.27 kB / 0.6782 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1708, allocations: 192 / 0.6782 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1708, allocations: 3.938 kB / 0.6782 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1708, allocations: 0 / 0.6782 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.293e-05/0.1708, allocations: 7.984 kB / 0.6783 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001455/0.171, allocations: 145.7 kB / 0.6784 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.563e-05/0.171, allocations: 26.55 kB / 0.6784 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.1711, allocations: 4.859 kB / 0.6784 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005308/0.1716, allocations: 429.5 kB / 0.6788 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1716, allocations: 34.56 kB / 0.6789 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.453e-06/0.1716, allocations: 0 / 0.6789 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001832/0.1718, allocations: 37.62 kB / 0.6789 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.1719, allocations: 59.34 kB / 0.679 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.029e-05/0.1719, allocations: 93.86 kB / 0.679 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.1719, allocations: 29.64 kB / 0.6791 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.172, allocations: 80.14 kB / 0.6791 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.035e-05/0.172, allocations: 0 / 0.6791 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.172, allocations: 9.719 kB / 0.6792 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1721, allocations: 319 kB / 0.6795 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-06/0.1722, allocations: 0 / 0.6795 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.162e-06/0.1722, allocations: 0 / 0.6795 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.741e-05/0.1722, allocations: 12.84 kB / 0.6795 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1722, allocations: 0 / 0.6795 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.66e-05/0.1723, allocations: 37.64 kB / 0.6795 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1723, allocations: 8 kB / 0.6795 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1723, allocations: 0 / 0.6795 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1723, allocations: 8.031 kB / 0.6795 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.01e-05/0.1724, allocations: 0 / 0.6795 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1724, allocations: 0 / 0.6795 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.1724, allocations: 7.938 kB / 0.6795 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.1724, allocations: 0 / 0.6795 GB, free: 6.738 MB / 0.5137 GB 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.839e-05/0.1725, allocations: 105.8 kB / 0.6796 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1725, allocations: 7.922 kB / 0.6796 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.676e-05/0.1726, allocations: 48.77 kB / 0.6797 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1726, allocations: 0 / 0.6797 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1726, allocations: 0 / 0.6797 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1727, allocations: 0 / 0.6797 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.1728, allocations: 145.7 kB / 0.6798 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1728, allocations: 0 / 0.6798 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.1728, allocations: 7.938 kB / 0.6798 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1728, allocations: 0 / 0.6798 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1728, allocations: 3.938 kB / 0.6798 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1728, allocations: 0 / 0.6798 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1728, allocations: 0 / 0.6798 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.698e-05/0.1729, allocations: 65.16 kB / 0.6799 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.173, allocations: 81.02 kB / 0.68 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.173, allocations: 7.938 kB / 0.68 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.274e-06/0.173, allocations: 0 / 0.68 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.173, allocations: 0 / 0.68 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/0.173, allocations: 4 kB / 0.68 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.1731, allocations: 79.22 kB / 0.6801 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1731, allocations: 4.031 kB / 0.6801 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002137/0.1733, allocations: 8 kB / 0.6801 GB, free: 6.082 MB / 0.5137 GB 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.000199/0.1735, allocations: 111.2 kB / 0.6802 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.338e-05/0.1736, allocations: 7.938 kB / 0.6802 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1736, allocations: 0 / 0.6802 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.616e-06/0.1736, allocations: 4 kB / 0.6802 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001411/0.1737, allocations: 5.875 kB / 0.6802 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.1739, allocations: 110.8 kB / 0.6803 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1742, allocations: 0.669 MB / 0.681 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.1742, allocations: 7.438 kB / 0.681 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.1742, allocations: 0 / 0.681 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of Templates: time 0.001885/0.1761, allocations: 475.7 kB / 0.6814 GB, free: 4.637 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)