Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.0009256/0.0009254, 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.0009097/0.0009096, 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.374/1.374, allocations: 223.2 MB / 239.9 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 1.028/1.028, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003348, allocations: 12 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1686, allocations: 83.41 MB / 0.5974 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006073/0.1693, allocations: 319 kB / 0.5977 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005853/0.1699, allocations: 323.2 kB / 0.598 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.657e-05/0.1699, allocations: 4 kB / 0.598 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.678e-06/0.1699, allocations: 3.938 kB / 0.598 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.075e-05/0.17, allocations: 0 / 0.598 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004259/0.1704, allocations: 67.78 kB / 0.5981 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.048e-05/0.1704, allocations: 11.92 kB / 0.5981 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.1705, allocations: 0 / 0.5981 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.216e-05/0.1705, allocations: 7.984 kB / 0.5981 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.234e-05/0.1706, allocations: 8 kB / 0.5981 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1706, allocations: 0 / 0.5981 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00034/0.1709, allocations: 259.7 kB / 0.5983 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.955e-06/0.171, allocations: 0 / 0.5983 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.171, allocations: 29.69 kB / 0.5984 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001124/0.1711, allocations: 55.91 kB / 0.5984 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.1711, allocations: 0 / 0.5984 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.677e-06/0.1711, allocations: 0 / 0.5984 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.1711, allocations: 7.938 kB / 0.5984 GB, free: 6.715 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002943/0.1714, allocations: 335.4 kB / 0.5987 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.1715, allocations: 12.03 kB / 0.5987 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.256e-05/0.1715, allocations: 30.56 kB / 0.5988 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.1716, allocations: 4 kB / 0.5988 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1717, allocations: 171.2 kB / 0.5989 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1717, allocations: 4 kB / 0.5989 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1717, allocations: 0 / 0.5989 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.704e-05/0.1718, allocations: 29.7 kB / 0.599 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.1718, allocations: 4 kB / 0.599 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.1719, allocations: 0 / 0.599 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.1719, allocations: 8 kB / 0.599 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.1719, allocations: 3.984 kB / 0.599 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001752/0.1721, allocations: 161.5 kB / 0.5991 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.749e-05/0.1721, allocations: 26.59 kB / 0.5992 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007185/0.1729, allocations: 461.5 kB / 0.5996 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.1729, allocations: 30.56 kB / 0.5996 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1729, allocations: 0 / 0.5996 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005513/0.1735, allocations: 262.6 kB / 0.5999 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.1735, allocations: 55.41 kB / 0.5999 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.163e-05/0.1736, allocations: 89.86 kB / 0.6 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1736, allocations: 25.7 kB / 0.6001 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.1737, allocations: 84.14 kB / 0.6001 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/0.1737, allocations: 11.81 kB / 0.6001 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.1737, allocations: 0 / 0.6001 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1739, allocations: 318.8 kB / 0.6004 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.785e-05/0.1739, allocations: 12.12 kB / 0.6005 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.242e-05/0.174, allocations: 17.66 kB / 0.6005 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.83e-05/0.174, allocations: 15.94 kB / 0.6005 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.174, allocations: 0 / 0.6005 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001341/0.1742, allocations: 49.69 kB / 0.6005 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1742, allocations: 7.938 kB / 0.6005 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1742, allocations: 0 / 0.6005 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1742, allocations: 8 kB / 0.6006 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.964e-05/0.1743, allocations: 8 kB / 0.6006 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1743, allocations: 0 / 0.6006 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.1743, allocations: 3.984 kB / 0.6006 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.1743, allocations: 7.984 kB / 0.6006 GB, free: 4.137 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.612e-05/0.1744, allocations: 113.8 kB / 0.6007 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.1745, allocations: 0 / 0.6007 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.1746, allocations: 53.19 kB / 0.6007 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1746, allocations: 4 kB / 0.6007 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1746, allocations: 3.938 kB / 0.6007 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1747, allocations: 0 / 0.6007 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.1748, allocations: 157.6 kB / 0.6009 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1748, allocations: 0 / 0.6009 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.1748, allocations: 7.984 kB / 0.6009 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1748, allocations: 0 / 0.6009 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.1749, allocations: 0 / 0.6009 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1749, allocations: 4 kB / 0.6009 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1749, allocations: 0 / 0.6009 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.175, allocations: 88.94 kB / 0.601 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.59e-05/0.1751, allocations: 77.11 kB / 0.6011 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1751, allocations: 0 / 0.6011 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.115e-05/0.1751, allocations: 8.016 kB / 0.6011 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.1752, allocations: 0 / 0.6011 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1752, allocations: 0 / 0.6011 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.536e-05/0.1752, allocations: 83.22 kB / 0.6011 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1752, allocations: 4.156 kB / 0.6012 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002138/0.1754, allocations: 24 kB / 0.6012 GB, free: 3.422 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0004834/0.1759, allocations: 0.6398 MB / 0.6018 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.278e-05/0.176, allocations: 19.94 kB / 0.6018 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.176, allocations: 4.188 kB / 0.6018 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.545e-05/0.176, allocations: 11.92 kB / 0.6018 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.439e-05/0.1761, allocations: 0 / 0.6018 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005482/0.1767, allocations: 0.5097 MB / 0.6023 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.1769, allocations: 0.6849 MB / 0.603 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.224e-05/0.177, allocations: 4.375 kB / 0.603 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.674e-05/0.177, allocations: 11.38 kB / 0.603 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.177, allocations: 0 / 0.603 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.1877, allocations: 1.53 MB / 0.6045 GB, free: 88 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2964/0.4842, allocations: 212.9 kB / 0.6047 GB, free: 42.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/2.194, allocations: 0 / 0.6047 GB, free: 42.45 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: