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.001091/0.001092, allocations: 108 kB / 15.6 MB, free: 132 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.001416/0.001415, allocations: 193 kB / 16.53 MB, free: 6.391 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.9744/0.9744, allocations: 143 MB / 433.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.89 kB / 0.5143 GB, free: 11.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.177, allocations: 82.04 MB / 0.5944 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006267/0.1834, allocations: 3.718 MB / 0.598 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000221/0.1836, allocations: 159.5 kB / 0.5982 GB, free: 5.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.1837, allocations: 4 kB / 0.5982 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.1838, allocations: 0 / 0.5982 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.992e-05/0.1839, allocations: 15.8 kB / 0.5982 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.1843, allocations: 87.69 kB / 0.5983 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.359e-05/0.1844, allocations: 31.91 kB / 0.5983 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.1845, allocations: 0 / 0.5983 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.704e-05/0.1845, allocations: 15.98 kB / 0.5983 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.472e-05/0.1846, allocations: 15.92 kB / 0.5983 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1846, allocations: 3.938 kB / 0.5983 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006177/0.1853, allocations: 183.4 kB / 0.5985 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.1853, allocations: 11.98 kB / 0.5985 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.1854, allocations: 7.984 kB / 0.5985 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.1855, allocations: 48.12 kB / 0.5986 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1855, allocations: 3.984 kB / 0.5986 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1855, allocations: 0 / 0.5986 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.1855, allocations: 0 / 0.5986 GB, free: 5.18 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004202/0.186, allocations: 335.5 kB / 0.5989 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.186, allocations: 8.031 kB / 0.5989 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.1861, allocations: 38.75 kB / 0.5989 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.61e-05/0.1861, allocations: 0.9375 kB / 0.5989 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.1862, allocations: 164.3 kB / 0.5991 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.956e-05/0.1863, allocations: 34.27 kB / 0.5991 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1863, allocations: 8.125 kB / 0.5991 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1865, allocations: 45.61 kB / 0.5992 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.1865, allocations: 0 / 0.5992 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1865, allocations: 4 kB / 0.5992 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.1865, allocations: 0 / 0.5992 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.954e-05/0.1866, allocations: 15.98 kB / 0.5992 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.1871, allocations: 334 kB / 0.5995 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.725e-05/0.1871, allocations: 22.52 kB / 0.5995 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.1871, allocations: 8.922 kB / 0.5995 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.264e-05/0.1872, allocations: 81.11 kB / 0.5996 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1873, allocations: 34.56 kB / 0.5997 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.332e-06/0.1873, allocations: 0 / 0.5997 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001586/0.1874, allocations: 45.59 kB / 0.5997 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1875, allocations: 55.53 kB / 0.5998 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.494e-05/0.1876, allocations: 109.8 kB / 0.5999 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.1876, allocations: 25.7 kB / 0.5999 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.1877, allocations: 84.05 kB / 0.6 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/0.1877, allocations: 3.938 kB / 0.6 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.1877, allocations: 17.72 kB / 0.6 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1878, allocations: 314.8 kB / 0.6003 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.824e-05/0.1878, allocations: 7.984 kB / 0.6003 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.1879, allocations: 17.91 kB / 0.6003 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.494e-05/0.1879, allocations: 25.66 kB / 0.6003 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1879, allocations: 0 / 0.6003 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.22e-05/0.188, allocations: 49.72 kB / 0.6004 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.188, allocations: 4 kB / 0.6004 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.188, allocations: 0 / 0.6004 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1881, allocations: 12.05 kB / 0.6004 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.608e-05/0.1881, allocations: 7.984 kB / 0.6004 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.1881, allocations: 0 / 0.6004 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.1882, allocations: 3.906 kB / 0.6004 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1882, allocations: 4 kB / 0.6004 GB, free: 3.012 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 (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 8.063e-05/0.1883, allocations: 113.8 kB / 0.6005 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.1883, allocations: 4 kB / 0.6005 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.1884, allocations: 120.9 kB / 0.6006 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.938e-05/0.1885, allocations: 180.3 kB / 0.6008 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.295e-05/0.1885, allocations: 180.2 kB / 0.601 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-05/0.1886, allocations: 180.3 kB / 0.6012 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.1889, allocations: 409.1 kB / 0.6015 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/0.1889, allocations: 101 kB / 0.6016 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.1889, allocations: 109 kB / 0.6017 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.835e-05/0.189, allocations: 188.2 kB / 0.6019 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.371e-05/0.1891, allocations: 176.3 kB / 0.6021 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-05/0.1892, allocations: 184.2 kB / 0.6023 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.366e-05/0.1892, allocations: 176.3 kB / 0.6024 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.1894, allocations: 315.7 kB / 0.6027 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.162e-05/0.1895, allocations: 182.1 kB / 0.6029 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/0.1896, allocations: 184.2 kB / 0.6031 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3084/0.498, allocations: 109 kB / 0.6032 GB, free: 44.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.498, allocations: 180 kB / 0.6034 GB, free: 44.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.4981, allocations: 109.1 kB / 0.6035 GB, free: 44.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.338e-05/0.4981, allocations: 83.73 kB / 0.6035 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4982, allocations: 3.531 kB / 0.6035 GB, free: 44.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003702/0.4985, allocations: 15.83 kB / 0.6036 GB, free: 44.36 MB / 0.4981 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.0003979/0.4989, allocations: 0.8286 MB / 0.6044 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.117e-05/0.499, allocations: 10.95 kB / 0.6044 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.499, allocations: 0.7812 kB / 0.6044 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.499, allocations: 1.906 kB / 0.6044 GB, free: 43.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.4994, allocations: 465.8 kB / 0.6048 GB, free: 43.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.5001, allocations: 1.314 MB / 0.6061 GB, free: 41.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.3e-05/0.5002, allocations: 0.6776 MB / 0.6068 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.067e-05/0.5003, allocations: 6.656 kB / 0.6068 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.5003, allocations: 10.81 kB / 0.6068 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.5003, allocations: 0 / 0.6068 GB, free: 41.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5126/1.013, allocations: 1.519 MB / 0.6083 GB, free: 40.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.742/10.75, allocations: 16.69 kB / 0.6083 GB, free: 40.86 MB / 0.4981 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)