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.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.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.001702/0.001702, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 195 kB / 16.53 MB, free: 6.664 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.43 MB / 190.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.984/0.984, allocations: 143 MB / 433.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 71.88 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1816, allocations: 82.04 MB / 0.5944 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001859/0.1835, allocations: 0.5883 MB / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000678/0.1842, allocations: 342.7 kB / 0.5953 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.46e-05/0.1843, allocations: 4 kB / 0.5953 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.1843, allocations: 0 / 0.5953 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.426e-05/0.1843, allocations: 0 / 0.5953 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.1848, allocations: 115 kB / 0.5954 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.49e-05/0.1849, allocations: 15.94 kB / 0.5954 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.1849, allocations: 3.984 kB / 0.5954 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.3e-05/0.185, allocations: 4 kB / 0.5954 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.185, allocations: 3.984 kB / 0.5954 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.185, allocations: 4 kB / 0.5954 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000395/0.1854, allocations: 271.7 kB / 0.5957 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.1855, allocations: 3.984 kB / 0.5957 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.1855, allocations: 11.94 kB / 0.5957 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.1857, allocations: 95.78 kB / 0.5958 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1857, allocations: 0 / 0.5958 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1857, allocations: 0 / 0.5958 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.1857, allocations: 0 / 0.5958 GB, free: 8.051 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.0004195/0.1861, allocations: 347.5 kB / 0.5961 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1862, allocations: 16.03 kB / 0.5962 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.1862, allocations: 30.75 kB / 0.5962 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.1863, allocations: 4.844 kB / 0.5962 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1864, allocations: 164.6 kB / 0.5963 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.1864, allocations: 4.375 kB / 0.5964 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.1864, allocations: 384 / 0.5964 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.148e-05/0.1865, allocations: 42.19 kB / 0.5964 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1866, allocations: 7.938 kB / 0.5964 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.1866, allocations: 0 / 0.5964 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1866, allocations: 0 / 0.5964 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.1866, allocations: 8 kB / 0.5964 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.1868, allocations: 153.7 kB / 0.5966 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.496e-05/0.1868, allocations: 18.61 kB / 0.5966 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.1868, allocations: 8.922 kB / 0.5966 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006942/0.1875, allocations: 461.5 kB / 0.597 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.1876, allocations: 38.5 kB / 0.5971 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1876, allocations: 0 / 0.5971 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005195/0.1881, allocations: 258.5 kB / 0.5973 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.1881, allocations: 51.41 kB / 0.5974 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.1882, allocations: 97.86 kB / 0.5974 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.1883, allocations: 25.7 kB / 0.5975 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.76e-05/0.1883, allocations: 84.12 kB / 0.5976 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.1883, allocations: 3.906 kB / 0.5976 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.1884, allocations: 17.72 kB / 0.5976 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1885, allocations: 319 kB / 0.5979 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/0.1885, allocations: 7.984 kB / 0.5979 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.397e-05/0.1885, allocations: 17.72 kB / 0.5979 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.1886, allocations: 25.66 kB / 0.5979 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.1886, allocations: 0 / 0.5979 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.078e-05/0.1887, allocations: 53.69 kB / 0.598 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1887, allocations: 12 kB / 0.598 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1887, allocations: 7.938 kB / 0.598 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1887, allocations: 0 / 0.598 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.1888, allocations: 7.938 kB / 0.598 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.1888, allocations: 4 kB / 0.598 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.1888, allocations: 0 / 0.598 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1888, allocations: 0 / 0.598 GB, free: 5.418 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.527e-05/0.1889, allocations: 117.8 kB / 0.5981 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.1889, allocations: 3.938 kB / 0.5981 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.1891, allocations: 61.09 kB / 0.5982 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1891, allocations: 0 / 0.5982 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1891, allocations: 0 / 0.5982 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1891, allocations: 0 / 0.5982 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.1892, allocations: 153.7 kB / 0.5983 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1892, allocations: 7.938 kB / 0.5983 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.1893, allocations: 7.984 kB / 0.5983 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1893, allocations: 3.938 kB / 0.5983 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.1893, allocations: 0 / 0.5983 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1893, allocations: 4 kB / 0.5984 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1893, allocations: 0 / 0.5984 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.1894, allocations: 77.16 kB / 0.5984 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.1895, allocations: 81.05 kB / 0.5985 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.1895, allocations: 0 / 0.5985 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.953e-05/0.1895, allocations: 7.984 kB / 0.5985 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.1896, allocations: 4 kB / 0.5985 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1896, allocations: 64 / 0.5985 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.1896, allocations: 79.28 kB / 0.5986 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1896, allocations: 0 / 0.5986 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002082/0.1898, allocations: 24 kB / 0.5986 GB, free: 4.695 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 (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.0004868/0.1903, allocations: 0.6475 MB / 0.5992 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.67e-05/0.1904, allocations: 24.38 kB / 0.5993 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1904, allocations: 4 kB / 0.5993 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.1905, allocations: 7.984 kB / 0.5993 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1906, allocations: 0 / 0.5993 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009142/0.1915, allocations: 1.147 MB / 0.6004 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.1917, allocations: 0.6729 MB / 0.6011 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.394e-05/0.1918, allocations: 8 kB / 0.6011 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.1918, allocations: 15.42 kB / 0.6011 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1918, allocations: 0 / 0.6011 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.2099, allocations: 1.729 MB / 0.6028 GB, free: 432 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.496/7.706, allocations: 6.516 kB / 0.6028 GB, free: 432 kB / 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_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_RegNonZeroPowerDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)