Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.0008319/0.0008319, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.004707/0.004707, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.256/1.256, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.934/0.934, allocations: 143.2 MB / 434.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002976, allocations: 8 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1449, allocations: 83.42 MB / 0.598 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004452/0.1494, allocations: 2.979 MB / 0.6009 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001144/0.1495, allocations: 59.84 kB / 0.6009 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.1496, allocations: 0 / 0.6009 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.064e-05/0.1497, allocations: 4 kB / 0.6009 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.538e-05/0.1498, allocations: 11.91 kB / 0.601 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.1503, allocations: 167.4 kB / 0.6011 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1505, allocations: 63.88 kB / 0.6012 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.1505, allocations: 0 / 0.6012 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.1506, allocations: 19.86 kB / 0.6012 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.1506, allocations: 8 kB / 0.6012 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.1506, allocations: 0 / 0.6012 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003939/0.151, allocations: 167.5 kB / 0.6014 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.242e-05/0.1511, allocations: 11.98 kB / 0.6014 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.1512, allocations: 33.64 kB / 0.6014 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003053/0.1515, allocations: 143.9 kB / 0.6015 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1515, allocations: 4 kB / 0.6015 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1515, allocations: 0 / 0.6015 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1515, allocations: 0 / 0.6015 GB, free: 3.867 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.000369/0.1519, allocations: 339.5 kB / 0.6019 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1519, allocations: 8.031 kB / 0.6019 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.152, allocations: 38.73 kB / 0.6019 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.152, allocations: 12.72 kB / 0.6019 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.1521, allocations: 160.4 kB / 0.6021 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.1522, allocations: 34.27 kB / 0.6021 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.1522, allocations: 8.125 kB / 0.6021 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.1524, allocations: 37.69 kB / 0.6022 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.1524, allocations: 0 / 0.6022 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.1524, allocations: 0 / 0.6022 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.1524, allocations: 4 kB / 0.6022 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.315e-05/0.1525, allocations: 15.98 kB / 0.6022 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006483/0.1531, allocations: 0.5832 MB / 0.6027 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.97e-05/0.1532, allocations: 30.58 kB / 0.6028 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.573e-05/0.1532, allocations: 4.859 kB / 0.6028 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.1535, allocations: 344.5 kB / 0.6031 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.449e-05/0.1535, allocations: 34.5 kB / 0.6031 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.1535, allocations: 0 / 0.6031 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000147/0.1537, allocations: 41.64 kB / 0.6032 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.1537, allocations: 51.53 kB / 0.6032 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.13e-05/0.1538, allocations: 105.8 kB / 0.6033 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.1539, allocations: 25.7 kB / 0.6034 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.1539, allocations: 92.03 kB / 0.6034 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.1539, allocations: 3.906 kB / 0.6034 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.154, allocations: 13.7 kB / 0.6035 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.1541, allocations: 318.8 kB / 0.6038 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.1541, allocations: 4 kB / 0.6038 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.809e-05/0.1541, allocations: 17.72 kB / 0.6038 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.403e-05/0.1542, allocations: 29.64 kB / 0.6038 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1542, allocations: 0 / 0.6038 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.45e-05/0.1543, allocations: 41.7 kB / 0.6039 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1543, allocations: 7.984 kB / 0.6039 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1543, allocations: 0 / 0.6039 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1544, allocations: 4 kB / 0.6039 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.992e-05/0.1544, allocations: 12 kB / 0.6039 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1544, allocations: 0 / 0.6039 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.1545, allocations: 3.938 kB / 0.6039 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.1545, allocations: 4 kB / 0.6039 GB, free: 1.078 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 7.189e-05/0.1546, allocations: 109.8 kB / 0.604 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.1546, allocations: 4 kB / 0.604 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.1547, allocations: 122.7 kB / 0.6041 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.086e-05/0.1548, allocations: 188.2 kB / 0.6043 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-05/0.1549, allocations: 176.3 kB / 0.6045 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.174e-05/0.1549, allocations: 184.2 kB / 0.6046 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.256/0.411, allocations: 401.1 kB / 0.605 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.411, allocations: 103.8 kB / 0.6051 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.411, allocations: 107 kB / 0.6052 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.463e-05/0.4111, allocations: 180.1 kB / 0.6054 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.4111, allocations: 187.6 kB / 0.6056 GB, free: 39.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.185e-05/0.4111, allocations: 178 kB / 0.6057 GB, free: 39.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.059e-05/0.4111, allocations: 183 kB / 0.6059 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.992e-05/0.4112, allocations: 304.7 kB / 0.6062 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.4113, allocations: 195.1 kB / 0.6064 GB, free: 39.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.4113, allocations: 179.5 kB / 0.6066 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001571/0.4115, allocations: 109.6 kB / 0.6067 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.4115, allocations: 186.3 kB / 0.6068 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.4115, allocations: 104.6 kB / 0.6069 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.4116, allocations: 86.31 kB / 0.607 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4116, allocations: 0 / 0.607 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003331/0.4119, allocations: 31.36 kB / 0.6071 GB, free: 38.42 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.0003448/0.4123, allocations: 0.8595 MB / 0.6079 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.174e-05/0.4124, allocations: 18.53 kB / 0.6079 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4124, allocations: 1.281 kB / 0.6079 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.4124, allocations: 0 / 0.6079 GB, free: 37.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.4127, allocations: 0.5304 MB / 0.6084 GB, free: 37.09 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006673/0.4134, allocations: 1.345 MB / 0.6097 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.389e-05/0.4135, allocations: 0.6722 MB / 0.6104 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.819e-05/0.4135, allocations: 11.12 kB / 0.6104 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.4135, allocations: 12.59 kB / 0.6104 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.4136, allocations: 0 / 0.6104 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.41/1.823, allocations: 2.018 MB / 0.6124 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/1.823, allocations: 276.4 kB / 0.6127 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/4.495, allocations: 0 / 0.6127 GB, free: 34.53 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)