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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.005562/0.005562, allocations: 97.69 kB / 15.73 MB, free: 5.961 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.001219/0.001219, allocations: 195.3 kB / 16.67 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8673/0.8673, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 69.2 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1724, allocations: 82.02 MB / 0.6752 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001944/0.1744, allocations: 0.6401 MB / 0.6758 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0007366/0.1752, allocations: 351.1 kB / 0.6762 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.254e-05/0.1752, allocations: 0 / 0.6762 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.88e-05/0.1753, allocations: 0 / 0.6762 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.342e-05/0.1753, allocations: 7.938 kB / 0.6762 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.176, allocations: 123.5 kB / 0.6763 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.997e-05/0.1761, allocations: 19.92 kB / 0.6763 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.103e-05/0.1761, allocations: 7.938 kB / 0.6763 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.1762, allocations: 7.984 kB / 0.6763 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.1763, allocations: 15.92 kB / 0.6763 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.1763, allocations: 4 kB / 0.6763 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004426/0.1767, allocations: 275.6 kB / 0.6766 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.1768, allocations: 8 kB / 0.6766 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.068e-05/0.1768, allocations: 15.86 kB / 0.6766 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.177, allocations: 107.9 kB / 0.6767 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1771, allocations: 0 / 0.6767 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1771, allocations: 0 / 0.6767 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1771, allocations: 0 / 0.6767 GB, free: 9.242 MB / 0.5137 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.0005573/0.1776, allocations: 361.3 kB / 0.6771 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.1777, allocations: 8.031 kB / 0.6771 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.903e-05/0.1778, allocations: 38.75 kB / 0.6771 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.341e-05/0.1778, allocations: 4.938 kB / 0.6771 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.178, allocations: 172.3 kB / 0.6773 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.178, allocations: 384 / 0.6773 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.1781, allocations: 12.31 kB / 0.6773 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1782, allocations: 58.16 kB / 0.6774 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.1782, allocations: 3.938 kB / 0.6774 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1783, allocations: 0 / 0.6774 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.1783, allocations: 0 / 0.6774 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.799e-05/0.1783, allocations: 19.98 kB / 0.6774 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002314/0.1786, allocations: 165.7 kB / 0.6775 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001131/0.1787, allocations: 58.55 kB / 0.6776 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.1787, allocations: 28.84 kB / 0.6776 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007751/0.1795, allocations: 465.4 kB / 0.6781 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.1796, allocations: 38.56 kB / 0.6781 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.1796, allocations: 0 / 0.6781 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001405/0.181, allocations: 0.5919 MB / 0.6787 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.181, allocations: 59.34 kB / 0.6787 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.662e-05/0.1811, allocations: 97.86 kB / 0.6788 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1811, allocations: 25.7 kB / 0.6789 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.365e-05/0.1812, allocations: 84.12 kB / 0.6789 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.1812, allocations: 35.7 kB / 0.679 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.1813, allocations: 29.66 kB / 0.679 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1814, allocations: 322.8 kB / 0.6793 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.301e-05/0.1815, allocations: 23.98 kB / 0.6793 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-05/0.1815, allocations: 19.98 kB / 0.6793 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.401e-05/0.1816, allocations: 60.8 kB / 0.6794 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1816, allocations: 3.938 kB / 0.6794 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001607/0.1818, allocations: 100.7 kB / 0.6795 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1818, allocations: 4 kB / 0.6795 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.1818, allocations: 0 / 0.6795 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1818, allocations: 0 / 0.6795 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1819, allocations: 20 kB / 0.6795 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.182, allocations: 4 kB / 0.6795 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.182, allocations: 7.984 kB / 0.6795 GB, free: 5.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.182, allocations: 4 kB / 0.6795 GB, free: 5.953 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.44e-05/0.1821, allocations: 118.4 kB / 0.6797 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1821, allocations: 7.891 kB / 0.6797 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/0.1823, allocations: 105.6 kB / 0.6798 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1824, allocations: 0 / 0.6798 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1824, allocations: 0 / 0.6798 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1824, allocations: 7.984 kB / 0.6798 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.1828, allocations: 358.4 kB / 0.6801 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1828, allocations: 0 / 0.6801 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.1829, allocations: 24 kB / 0.6801 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.183, allocations: 0 / 0.6801 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.183, allocations: 3.984 kB / 0.6801 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.183, allocations: 0 / 0.6801 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.183, allocations: 0 / 0.6801 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.1833, allocations: 235.5 kB / 0.6804 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.1833, allocations: 89.08 kB / 0.6804 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.1834, allocations: 4 kB / 0.6805 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.016e-05/0.1834, allocations: 4 kB / 0.6805 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.1835, allocations: 3.984 kB / 0.6805 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.1835, allocations: 8 kB / 0.6805 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.903e-05/0.1835, allocations: 83.45 kB / 0.6805 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.81e-07/0.1836, allocations: 0 / 0.6805 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002782/0.1838, allocations: 47.86 kB / 0.6806 GB, free: 4.77 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006709/0.1845, allocations: 0.7943 MB / 0.6814 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.1847, allocations: 59.98 kB / 0.6814 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.1847, allocations: 0 / 0.6814 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.1848, allocations: 35.92 kB / 0.6815 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.185, allocations: 7.25 kB / 0.6815 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.1863, allocations: 1.405 MB / 0.6828 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1866, allocations: 0.6846 MB / 0.6835 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.063e-05/0.1867, allocations: 8 kB / 0.6835 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.1867, allocations: 19.42 kB / 0.6835 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.1867, allocations: 0 / 0.6835 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.208, allocations: 2.515 MB / 0.686 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.745/7.953, allocations: 8.109 kB / 0.686 GB, free: 15.29 MB / 0.5294 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)