Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001388/0.001389, allocations: 177.3 kB / 15.95 MB, free: 216 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.408/1.408, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.955/0.955, allocations: 143.3 MB / 434.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 12 kB / 0.5158 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1737, allocations: 83.4 MB / 0.5973 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008021/0.1746, allocations: 347 kB / 0.5976 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006548/0.1752, allocations: 331.1 kB / 0.5979 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.752e-05/0.1753, allocations: 0 / 0.5979 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.202e-05/0.1753, allocations: 0 / 0.5979 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.671e-05/0.1753, allocations: 0 / 0.5979 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.1757, allocations: 71.77 kB / 0.598 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.18e-05/0.1758, allocations: 23.92 kB / 0.598 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.1758, allocations: 0 / 0.598 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.809e-05/0.1759, allocations: 12 kB / 0.598 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.58e-05/0.1759, allocations: 15.91 kB / 0.5981 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.176, allocations: 4 kB / 0.5981 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003651/0.1763, allocations: 255.7 kB / 0.5983 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.1764, allocations: 7.984 kB / 0.5983 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.1764, allocations: 33.58 kB / 0.5983 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.1765, allocations: 67.89 kB / 0.5984 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1765, allocations: 0 / 0.5984 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1765, allocations: 0 / 0.5984 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.1766, allocations: 4 kB / 0.5984 GB, free: 6.75 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004199/0.177, allocations: 351.5 kB / 0.5987 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.177, allocations: 8.031 kB / 0.5987 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.1771, allocations: 7.984 kB / 0.5988 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.1772, allocations: 167 kB / 0.5989 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.1772, allocations: 4 kB / 0.5989 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.1773, allocations: 7.984 kB / 0.5989 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1774, allocations: 45.69 kB / 0.599 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.1774, allocations: 4 kB / 0.599 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1774, allocations: 0 / 0.599 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1774, allocations: 0 / 0.599 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.089e-05/0.1775, allocations: 23.92 kB / 0.599 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.1777, allocations: 173.5 kB / 0.5992 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.1778, allocations: 54.56 kB / 0.5992 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006906/0.1785, allocations: 465.5 kB / 0.5997 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.1785, allocations: 34.56 kB / 0.5997 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.1786, allocations: 4 kB / 0.5997 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001333/0.1799, allocations: 0.5878 MB / 0.6003 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.676e-05/0.18, allocations: 59.34 kB / 0.6003 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.002e-05/0.1801, allocations: 97.86 kB / 0.6004 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.1801, allocations: 25.7 kB / 0.6004 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.802e-05/0.1801, allocations: 84.14 kB / 0.6005 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.329e-05/0.1802, allocations: 39.45 kB / 0.6006 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.1802, allocations: 0 / 0.6006 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1803, allocations: 326.8 kB / 0.6009 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.1804, allocations: 16 kB / 0.6009 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.1804, allocations: 27.98 kB / 0.6009 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.755e-05/0.1805, allocations: 23.38 kB / 0.6009 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.1805, allocations: 0 / 0.6009 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001538/0.1806, allocations: 97.58 kB / 0.601 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1807, allocations: 12 kB / 0.601 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1807, allocations: 3.938 kB / 0.601 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1807, allocations: 0 / 0.601 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1808, allocations: 19.94 kB / 0.6011 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.904e-06/0.1808, allocations: 4 kB / 0.6011 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.545e-05/0.1808, allocations: 4.078 kB / 0.6011 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1809, allocations: 7.938 kB / 0.6011 GB, free: 3.625 MB / 0.4981 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 (13): * Single equations (assignments): 13 * 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 8.839e-05/0.181, allocations: 117.8 kB / 0.6012 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/0.181, allocations: 4 kB / 0.6012 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.1812, allocations: 113.5 kB / 0.6013 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1812, allocations: 4 kB / 0.6013 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1812, allocations: 3.984 kB / 0.6013 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1812, allocations: 0 / 0.6013 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.1816, allocations: 354.5 kB / 0.6017 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.1816, allocations: 8 kB / 0.6017 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.1817, allocations: 20.12 kB / 0.6017 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1817, allocations: 0 / 0.6017 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1818, allocations: 7.984 kB / 0.6017 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.818e-06/0.1818, allocations: 4 kB / 0.6017 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.1818, allocations: 3.984 kB / 0.6017 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.182, allocations: 211.4 kB / 0.6019 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.1821, allocations: 93.03 kB / 0.602 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.1821, allocations: 0 / 0.602 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.1822, allocations: 4 kB / 0.602 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.1822, allocations: 11.98 kB / 0.602 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1822, allocations: 4.062 kB / 0.602 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.225e-05/0.1823, allocations: 83.22 kB / 0.6021 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1823, allocations: 0 / 0.6021 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002824/0.1826, allocations: 47.98 kB / 0.6021 GB, free: 2.441 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002361/0.1828, allocations: 143.2 kB / 0.6023 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.183, allocations: 59.97 kB / 0.6023 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.183, allocations: 0 / 0.6023 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.306e-05/0.183, allocations: 35.88 kB / 0.6024 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1832, allocations: 8 kB / 0.6024 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.1835, allocations: 191 kB / 0.6025 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1837, allocations: 0.6858 MB / 0.6032 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.873e-05/0.1838, allocations: 19.92 kB / 0.6032 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.1838, allocations: 11.44 kB / 0.6032 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of SimCode: time 1.393e-06/0.1838, allocations: 0 / 0.6032 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of Templates: time 0.2513/0.4352, allocations: 1.357 MB / 0.6046 GB, free: 40.64 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: