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.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009613, allocations: 86.09 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.00094/0.0009402, 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.378/1.378, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9938/0.9938, allocations: 143.4 MB / 434.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003317, allocations: 16 kB / 0.5161 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1616, allocations: 83.42 MB / 0.5976 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006483/0.1623, allocations: 303.1 kB / 0.5979 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005424/0.1628, allocations: 303.2 kB / 0.5981 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.089e-05/0.1629, allocations: 4 kB / 0.5981 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.129e-05/0.1629, allocations: 0 / 0.5981 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.292e-06/0.1629, allocations: 0 / 0.5981 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003295/0.1632, allocations: 75.78 kB / 0.5982 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.54e-05/0.1633, allocations: 4 kB / 0.5982 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.795e-05/0.1633, allocations: 0 / 0.5982 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.191e-05/0.1633, allocations: 0 / 0.5982 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.441e-05/0.1634, allocations: 0 / 0.5982 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1634, allocations: 4 kB / 0.5982 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003549/0.1638, allocations: 271.6 kB / 0.5985 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.601e-06/0.1638, allocations: 0 / 0.5985 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.1638, allocations: 25.7 kB / 0.5985 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.1639, allocations: 55.91 kB / 0.5986 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1639, allocations: 0 / 0.5986 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1639, allocations: 0 / 0.5986 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.1639, allocations: 0 / 0.5986 GB, free: 6.641 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002512/0.1642, allocations: 331.4 kB / 0.5989 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1642, allocations: 8.031 kB / 0.5989 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.792e-05/0.1643, allocations: 34.56 kB / 0.5989 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/0.1643, allocations: 3.984 kB / 0.5989 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.1644, allocations: 171 kB / 0.5991 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1644, allocations: 0 / 0.5991 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.1644, allocations: 4 kB / 0.5991 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.551e-05/0.1645, allocations: 29.64 kB / 0.5991 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1645, allocations: 0 / 0.5991 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-06/0.1645, allocations: 0 / 0.5991 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1646, allocations: 4 kB / 0.5991 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.731e-05/0.1646, allocations: 4 kB / 0.5991 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001246/0.1647, allocations: 149.6 kB / 0.5993 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.194e-05/0.1648, allocations: 18.61 kB / 0.5993 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.333e-05/0.1648, allocations: 8.859 kB / 0.5993 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004388/0.1652, allocations: 429.5 kB / 0.5997 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1652, allocations: 34.56 kB / 0.5997 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1653, allocations: 0 / 0.5997 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000134/0.1654, allocations: 29.7 kB / 0.5998 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.1654, allocations: 59.39 kB / 0.5998 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.291e-05/0.1655, allocations: 89.86 kB / 0.5999 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1655, allocations: 25.7 kB / 0.5999 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.948e-05/0.1655, allocations: 80.27 kB / 0.6 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.1656, allocations: 7.906 kB / 0.6 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.1656, allocations: 0 / 0.6 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.1657, allocations: 314.8 kB / 0.6003 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.1657, allocations: 8 kB / 0.6003 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-06/0.1657, allocations: 3.938 kB / 0.6003 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.472e-05/0.1657, allocations: 0 / 0.6003 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1657, allocations: 0 / 0.6003 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.003e-05/0.1658, allocations: 33.7 kB / 0.6004 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1658, allocations: 12.08 kB / 0.6004 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.1658, allocations: 0 / 0.6004 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1658, allocations: 0 / 0.6004 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.831e-05/0.1659, allocations: 4 kB / 0.6004 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1659, allocations: 3.938 kB / 0.6004 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.897e-06/0.1659, allocations: 0 / 0.6004 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.972e-06/0.1659, allocations: 0 / 0.6004 GB, free: 4.461 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 (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.151e-05/0.166, allocations: 117.5 kB / 0.6005 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.166, allocations: 4 kB / 0.6005 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.1661, allocations: 48.75 kB / 0.6005 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.1661, allocations: 0 / 0.6005 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1661, allocations: 0 / 0.6005 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1661, allocations: 0 / 0.6005 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.757e-05/0.1662, allocations: 149.9 kB / 0.6007 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1662, allocations: 4 kB / 0.6007 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.1662, allocations: 0 / 0.6007 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1662, allocations: 0 / 0.6007 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.1662, allocations: 7.969 kB / 0.6007 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1662, allocations: 0 / 0.6007 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1662, allocations: 4.031 kB / 0.6007 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.944e-05/0.1663, allocations: 61.08 kB / 0.6008 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/0.1664, allocations: 85.06 kB / 0.6008 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-06/0.1664, allocations: 0 / 0.6008 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.258e-06/0.1664, allocations: 3.984 kB / 0.6008 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.239e-05/0.1664, allocations: 4 kB / 0.6008 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.1664, allocations: 0 / 0.6008 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.185e-05/0.1664, allocations: 83.34 kB / 0.6009 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1664, allocations: 0 / 0.6009 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001813/0.1666, allocations: 11.94 kB / 0.6009 GB, free: 3.793 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 (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.000406/0.167, allocations: 0.6046 MB / 0.6015 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.323e-05/0.1671, allocations: 15.97 kB / 0.6015 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1671, allocations: 0 / 0.6015 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.811e-06/0.1671, allocations: 0 / 0.6015 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.1673, allocations: 0 / 0.6015 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.1675, allocations: 112.3 kB / 0.6017 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.1677, allocations: 0.6731 MB / 0.6023 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.672e-05/0.1678, allocations: 3.984 kB / 0.6023 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.337e-05/0.1678, allocations: 11.56 kB / 0.6023 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1678, allocations: 0 / 0.6023 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01008/0.1779, allocations: 1.007 MB / 0.6033 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.1781, allocations: 203.9 kB / 0.6035 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/1.793, allocations: 4.062 kB / 0.6035 GB, free: 1.203 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: