Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 100.2 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.001457/0.001457, allocations: 177.3 kB / 15.94 MB, free: 228 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.334/1.334, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9704/0.9704, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003378, allocations: 11.98 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.161, allocations: 83.4 MB / 0.5973 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001594/0.1627, allocations: 1.147 MB / 0.5984 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006623/0.1633, allocations: 363.9 kB / 0.5987 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.1634, allocations: 0 / 0.5987 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.493e-05/0.1634, allocations: 3.938 kB / 0.5987 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.1635, allocations: 8 kB / 0.5988 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.1639, allocations: 75.77 kB / 0.5988 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.175e-05/0.164, allocations: 11.98 kB / 0.5988 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1641, allocations: 4 kB / 0.5988 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.861e-05/0.1641, allocations: 11.92 kB / 0.5989 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.1642, allocations: 8 kB / 0.5989 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.1642, allocations: 0 / 0.5989 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003938/0.1646, allocations: 259.6 kB / 0.5991 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.1646, allocations: 0 / 0.5991 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.1647, allocations: 37.64 kB / 0.5991 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.1648, allocations: 75.86 kB / 0.5992 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1649, allocations: 3.938 kB / 0.5992 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.765e-06/0.1649, allocations: 0 / 0.5992 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1649, allocations: 0 / 0.5992 GB, free: 5.828 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006021/0.1655, allocations: 359.5 kB / 0.5996 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1656, allocations: 12.03 kB / 0.5996 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.99e-05/0.1656, allocations: 3.984 kB / 0.5996 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.1658, allocations: 171 kB / 0.5997 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1658, allocations: 0 / 0.5997 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.1659, allocations: 4 kB / 0.5997 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.1661, allocations: 53.67 kB / 0.5998 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1661, allocations: 0 / 0.5998 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1662, allocations: 0 / 0.5998 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.1662, allocations: 7.938 kB / 0.5998 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002197/0.1664, allocations: 43.97 kB / 0.5998 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.1668, allocations: 252.8 kB / 0.6001 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.1669, allocations: 54.53 kB / 0.6001 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006985/0.1676, allocations: 461.5 kB / 0.6006 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.1677, allocations: 30.56 kB / 0.6006 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.1677, allocations: 7.938 kB / 0.6006 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0004346/0.1681, allocations: 97.64 kB / 0.6007 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.1682, allocations: 51.41 kB / 0.6008 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.1683, allocations: 109.8 kB / 0.6009 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1683, allocations: 25.7 kB / 0.6009 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.118e-05/0.1683, allocations: 84.14 kB / 0.601 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.1684, allocations: 11.84 kB / 0.601 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.1684, allocations: 0 / 0.601 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1685, allocations: 322.9 kB / 0.6013 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.1686, allocations: 27.92 kB / 0.6013 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.356e-05/0.1687, allocations: 15.98 kB / 0.6013 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.445e-05/0.1687, allocations: 28.05 kB / 0.6014 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1688, allocations: 0 / 0.6014 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002201/0.169, allocations: 85.53 kB / 0.6014 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.169, allocations: 8.031 kB / 0.6014 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.169, allocations: 0 / 0.6014 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.169, allocations: 0 / 0.6014 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.1691, allocations: 11.98 kB / 0.6015 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1691, allocations: 0 / 0.6015 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.1692, allocations: 11.98 kB / 0.6015 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.1692, allocations: 0 / 0.6015 GB, free: 3.219 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 (2): * Single equations (assignments): 2 * 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 7.616e-05/0.1693, allocations: 121.8 kB / 0.6016 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.037e-05/0.1693, allocations: 3.906 kB / 0.6016 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.1696, allocations: 85.12 kB / 0.6017 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1696, allocations: 0 / 0.6017 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1696, allocations: 0 / 0.6017 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1696, allocations: 8.031 kB / 0.6017 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.1698, allocations: 161.6 kB / 0.6018 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1698, allocations: 0 / 0.6018 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.1698, allocations: 11.98 kB / 0.6018 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1699, allocations: 0 / 0.6018 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1699, allocations: 0 / 0.6018 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.279e-06/0.1699, allocations: 4 kB / 0.6018 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1699, allocations: 0 / 0.6018 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.1702, allocations: 175.5 kB / 0.602 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.1702, allocations: 85.05 kB / 0.6021 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.1703, allocations: 0 / 0.6021 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.159e-05/0.1703, allocations: 12.02 kB / 0.6021 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.1704, allocations: 4 kB / 0.6021 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.1704, allocations: 0 / 0.6021 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.364e-05/0.1704, allocations: 87.52 kB / 0.6022 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1705, allocations: 0 / 0.6022 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002426/0.1707, allocations: 16 kB / 0.6022 GB, free: 2.355 MB / 0.4981 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 (2): * Single equations (assignments): 2 * 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.0001787/0.1709, allocations: 103.2 kB / 0.6023 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000236/0.1711, allocations: 51.95 kB / 0.6024 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1711, allocations: 0 / 0.6024 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.1712, allocations: 23.98 kB / 0.6024 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.1714, allocations: 12.08 kB / 0.6024 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.1717, allocations: 120.5 kB / 0.6025 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.172, allocations: 0.6848 MB / 0.6032 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.154e-05/0.172, allocations: 0 / 0.6032 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.172, allocations: 7.438 kB / 0.6032 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.172, allocations: 0 / 0.6032 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of Templates: time 0.002524/0.1746, allocations: 0.6313 MB / 0.6038 GB, free: 0.6719 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: