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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.0009546/0.0009546, allocations: 99.86 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.0009971/0.0009971, 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.466/1.466, allocations: 223.2 MB / 239.9 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9974/0.9974, allocations: 143.3 MB / 434.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 12 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1741, allocations: 83.41 MB / 0.5974 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006769/0.1748, allocations: 343 kB / 0.5977 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000579/0.1754, allocations: 335.2 kB / 0.598 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.1754, allocations: 0 / 0.598 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.102e-05/0.1755, allocations: 0 / 0.598 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.658e-05/0.1755, allocations: 0 / 0.598 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.1758, allocations: 79.75 kB / 0.5981 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.081e-05/0.1759, allocations: 15.88 kB / 0.5981 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.1759, allocations: 3.984 kB / 0.5981 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.176, allocations: 19.98 kB / 0.5981 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.85e-05/0.176, allocations: 7.922 kB / 0.5981 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.176, allocations: 4 kB / 0.5981 GB, free: 7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.1764, allocations: 255.7 kB / 0.5984 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.1764, allocations: 11.94 kB / 0.5984 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.1764, allocations: 29.64 kB / 0.5984 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001302/0.1766, allocations: 71.86 kB / 0.5985 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.1766, allocations: 0 / 0.5985 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1766, allocations: 0 / 0.5985 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.1766, allocations: 0 / 0.5985 GB, free: 6.633 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.0003591/0.1769, allocations: 361.8 kB / 0.5988 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.177, allocations: 8.031 kB / 0.5988 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.533e-05/0.177, allocations: 34.56 kB / 0.5989 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.768e-05/0.1771, allocations: 3.984 kB / 0.5989 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.1772, allocations: 167 kB / 0.599 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.1772, allocations: 0 / 0.599 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.1772, allocations: 8 kB / 0.599 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.1774, allocations: 49.61 kB / 0.5991 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1774, allocations: 0 / 0.5991 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1774, allocations: 12 kB / 0.5991 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1774, allocations: 0 / 0.5991 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.1774, allocations: 19.98 kB / 0.5991 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001641/0.1776, allocations: 169.5 kB / 0.5993 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.543e-05/0.1777, allocations: 54.56 kB / 0.5993 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006658/0.1784, allocations: 469.5 kB / 0.5998 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1784, allocations: 34.5 kB / 0.5998 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.1784, allocations: 0 / 0.5998 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001205/0.1796, allocations: 0.5878 MB / 0.6004 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.1797, allocations: 51.41 kB / 0.6004 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.695e-05/0.1798, allocations: 97.86 kB / 0.6005 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1798, allocations: 25.7 kB / 0.6006 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.1798, allocations: 88.14 kB / 0.6006 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.1799, allocations: 39.45 kB / 0.6007 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.1799, allocations: 0 / 0.6007 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.18, allocations: 322.8 kB / 0.601 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.518e-05/0.18, allocations: 16 kB / 0.601 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.499e-05/0.1801, allocations: 23.98 kB / 0.601 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.439e-05/0.1801, allocations: 27.38 kB / 0.601 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1801, allocations: 0 / 0.601 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001557/0.1803, allocations: 109.5 kB / 0.6012 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1803, allocations: 4.625 kB / 0.6012 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1803, allocations: 4.188 kB / 0.6012 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.1803, allocations: 0 / 0.6012 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1804, allocations: 24 kB / 0.6012 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1805, allocations: 3.984 kB / 0.6012 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.1805, allocations: 11.97 kB / 0.6012 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1805, allocations: 4 kB / 0.6012 GB, free: 3.457 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.097e-05/0.1806, allocations: 117.8 kB / 0.6013 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.1806, allocations: 0 / 0.6013 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.1808, allocations: 117.5 kB / 0.6014 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1808, allocations: 0 / 0.6014 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1808, allocations: 3.984 kB / 0.6014 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.1808, allocations: 0 / 0.6014 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.1812, allocations: 362.6 kB / 0.6018 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1812, allocations: 0 / 0.6018 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.1813, allocations: 16 kB / 0.6018 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1814, allocations: 4 kB / 0.6018 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1814, allocations: 3.984 kB / 0.6018 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1814, allocations: 0 / 0.6018 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1814, allocations: 4 kB / 0.6018 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1817, allocations: 227.3 kB / 0.602 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.1817, allocations: 81.09 kB / 0.6021 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.1817, allocations: 4 kB / 0.6021 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.1818, allocations: 4 kB / 0.6021 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.172e-05/0.1819, allocations: 7.984 kB / 0.6021 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1819, allocations: 4 kB / 0.6021 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.414e-05/0.1819, allocations: 79.34 kB / 0.6022 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1819, allocations: 0 / 0.6022 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002713/0.1822, allocations: 51.94 kB / 0.6022 GB, free: 2.281 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.0006733/0.1829, allocations: 0.7865 MB / 0.603 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.183, allocations: 55.98 kB / 0.6031 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.183, allocations: 8.062 kB / 0.6031 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.1831, allocations: 31.92 kB / 0.6031 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1832, allocations: 8 kB / 0.6031 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007265/0.184, allocations: 0.5116 MB / 0.6036 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.1842, allocations: 0.6936 MB / 0.6043 GB, free: 92 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.143e-05/0.1843, allocations: 11.94 kB / 0.6043 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.1843, allocations: 15.44 kB / 0.6043 GB, free: 64 kB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1843, allocations: 0 / 0.6043 GB, free: 64 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2873/0.4716, allocations: 2.243 MB / 0.6065 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001434/0.4718, allocations: 221.3 kB / 0.6067 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.678/2.149, allocations: 0 / 0.6067 GB, free: 39.89 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: