Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.006126/0.006126, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001275/0.001275, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.413/1.413, 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.8749/0.8749, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 72.55 kB / 0.595 GB, free: 12.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1771, allocations: 82.03 MB / 0.6751 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006721/0.1838, allocations: 3.735 MB / 0.6788 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000252/0.1841, allocations: 151.5 kB / 0.6789 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.365e-05/0.1841, allocations: 0 / 0.6789 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.1843, allocations: 7.922 kB / 0.6789 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.1844, allocations: 7.984 kB / 0.6789 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.1849, allocations: 87.62 kB / 0.679 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.185, allocations: 35.91 kB / 0.6791 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.751e-05/0.185, allocations: 7.922 kB / 0.6791 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.628e-05/0.1851, allocations: 11.94 kB / 0.6791 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.674e-05/0.1852, allocations: 19.97 kB / 0.6791 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.1852, allocations: 0 / 0.6791 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006987/0.1859, allocations: 183.4 kB / 0.6793 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.186, allocations: 11.97 kB / 0.6793 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.741e-05/0.186, allocations: 11.94 kB / 0.6793 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.1862, allocations: 51.27 kB / 0.6793 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1862, allocations: 0 / 0.6793 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.194e-06/0.1862, allocations: 0 / 0.6793 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.1862, allocations: 0 / 0.6793 GB, free: 6.547 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005162/0.1868, allocations: 335.7 kB / 0.6797 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1868, allocations: 16.03 kB / 0.6797 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.1869, allocations: 30.75 kB / 0.6797 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.1869, allocations: 4.875 kB / 0.6797 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.1871, allocations: 168.3 kB / 0.6799 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.2e-05/0.1871, allocations: 30.27 kB / 0.6799 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.1872, allocations: 4.125 kB / 0.6799 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.1873, allocations: 45.67 kB / 0.68 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1873, allocations: 0 / 0.68 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1874, allocations: 4 kB / 0.68 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.1874, allocations: 4 kB / 0.68 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.1875, allocations: 11.98 kB / 0.68 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.1879, allocations: 334 kB / 0.6803 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.101e-05/0.188, allocations: 22.52 kB / 0.6803 GB, free: 5.375 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.188, allocations: 8.922 kB / 0.6803 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.26e-05/0.1881, allocations: 85.09 kB / 0.6804 GB, free: 5.262 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.1882, allocations: 34.56 kB / 0.6804 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1882, allocations: 0 / 0.6804 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001571/0.1883, allocations: 37.64 kB / 0.6805 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.1884, allocations: 55.41 kB / 0.6805 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.1885, allocations: 101.8 kB / 0.6806 GB, free: 5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1885, allocations: 25.7 kB / 0.6806 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.1885, allocations: 88.05 kB / 0.6807 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.1886, allocations: 3.906 kB / 0.6807 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.1886, allocations: 21.83 kB / 0.6808 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1887, allocations: 318.8 kB / 0.6811 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.1887, allocations: 4 kB / 0.6811 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-05/0.1888, allocations: 13.72 kB / 0.6811 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.1888, allocations: 33.58 kB / 0.6811 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1888, allocations: 8 kB / 0.6811 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.497e-05/0.1889, allocations: 45.69 kB / 0.6812 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1889, allocations: 4 kB / 0.6812 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1889, allocations: 0 / 0.6812 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.189, allocations: 4 kB / 0.6812 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.741e-05/0.189, allocations: 4 kB / 0.6812 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.189, allocations: 3.938 kB / 0.6812 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.1891, allocations: 0 / 0.6812 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.1891, allocations: 4 kB / 0.6812 GB, free: 4.387 MB / 0.5137 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 (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 prepare postOptimizeDAE: time 7.606e-05/0.1892, allocations: 113.8 kB / 0.6813 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.1892, allocations: 4 kB / 0.6813 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.1893, allocations: 128.8 kB / 0.6814 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.907e-05/0.1894, allocations: 184.2 kB / 0.6816 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-05/0.1895, allocations: 176.3 kB / 0.6818 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.921e-05/0.1895, allocations: 184.2 kB / 0.6819 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.1898, allocations: 413.1 kB / 0.6823 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.465e-05/0.1898, allocations: 104.9 kB / 0.6824 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.1899, allocations: 104.9 kB / 0.6825 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.452e-05/0.19, allocations: 180.3 kB / 0.6827 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.962e-05/0.19, allocations: 176.3 kB / 0.6829 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.031e-05/0.1901, allocations: 188.2 kB / 0.683 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.954e-05/0.1902, allocations: 180.2 kB / 0.6832 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.1903, allocations: 307.7 kB / 0.6835 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.086e-05/0.1904, allocations: 186 kB / 0.6837 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/0.1905, allocations: 184.2 kB / 0.6839 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.1907, allocations: 105 kB / 0.684 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.1908, allocations: 184.5 kB / 0.6841 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/0.1908, allocations: 101 kB / 0.6842 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.993e-05/0.1909, allocations: 91.27 kB / 0.6843 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1909, allocations: 0 / 0.6843 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002851/0.1912, allocations: 15.94 kB / 0.6843 GB, free: 0.9297 MB / 0.5137 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 (0): * Single equations (assignments): 0 * 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.0005629/0.1917, allocations: 0.8282 MB / 0.6851 GB, free: 76 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.449e-05/0.1918, allocations: 11.98 kB / 0.6852 GB, free: 64 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1918, allocations: 8.062 kB / 0.6852 GB, free: 56 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.1919, allocations: 0 / 0.6852 GB, free: 56 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.1923, allocations: 467.8 kB / 0.6856 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009736/0.1932, allocations: 1.328 MB / 0.6869 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.1935, allocations: 0.6807 MB / 0.6876 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.311e-05/0.1935, allocations: 11.23 kB / 0.6876 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.1936, allocations: 11.42 kB / 0.6876 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of SimCode: time 2.11e-07/0.1936, allocations: 0 / 0.6876 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.211, allocations: 1.545 MB / 0.6891 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.513/7.724, allocations: 9.828 kB / 0.6891 GB, free: 12.05 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)