Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.495/2.495, allocations: 284.9 MB / 292.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.001511, allocations: 172.9 kB / 360.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.3 MB / 0.6191 GB, free: 12.23 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001067/0.001066, allocations: 90.39 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.305e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8943/0.8943, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.276/2.171, allocations: 342 MB / 1.297 GB, free: 190 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/2.171, allocations: 81.22 kB / 1.297 GB, free: 190 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02737/2.199, allocations: 7.672 MB / 1.305 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.204e-06/2.199, allocations: 4 kB / 1.305 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.246e-06/2.199, allocations: 1.875 kB / 1.305 GB, free: 189.2 MB / 0.8542 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.000413/2.199, allocations: 346.9 kB / 1.305 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/2.199, allocations: 9.312 kB / 1.305 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/2.199, allocations: 2.172 kB / 1.305 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/2.199, allocations: 167.6 kB / 1.305 GB, free: 188.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.644e-05/2.199, allocations: 27.64 kB / 1.306 GB, free: 188.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/2.199, allocations: 1 kB / 1.306 GB, free: 188.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001033/2.2, allocations: 11.44 kB / 1.306 GB, free: 188.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.978e-05/2.2, allocations: 51.69 kB / 1.306 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/2.2, allocations: 2.156 kB / 1.306 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/2.2, allocations: 1.344 kB / 1.306 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/2.2, allocations: 0 / 1.306 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007248/2.2, allocations: 0.5821 MB / 1.306 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.028e-05/2.201, allocations: 15.67 kB / 1.306 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/2.201, allocations: 10.23 kB / 1.306 GB, free: 187.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002753/2.201, allocations: 358.4 kB / 1.307 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/2.201, allocations: 35.84 kB / 1.307 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 2.465e-06/2.201, allocations: 0 / 1.307 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0002796/2.201, allocations: 40 kB / 1.307 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/2.201, allocations: 55.09 kB / 1.307 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.155e-05/2.201, allocations: 99.23 kB / 1.307 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/2.201, allocations: 25.7 kB / 1.307 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/2.201, allocations: 90.02 kB / 1.307 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.891e-06/2.201, allocations: 0 / 1.307 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/2.201, allocations: 1.188 kB / 1.307 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.145e-05/2.202, allocations: 318.7 kB / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/2.202, allocations: 3.156 kB / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.794e-05/2.202, allocations: 20.33 kB / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/2.202, allocations: 20.59 kB / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/2.202, allocations: 0 / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002517/2.202, allocations: 65.38 kB / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/2.202, allocations: 8.891 kB / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/2.202, allocations: 0.6562 kB / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/2.202, allocations: 0.75 kB / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/2.202, allocations: 5.906 kB / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/2.202, allocations: 0 / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/2.202, allocations: 9.281 kB / 1.307 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/2.202, allocations: 1.031 kB / 1.307 GB, free: 186.8 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.079e-05/2.202, allocations: 109.9 kB / 1.307 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001603/2.203, allocations: 48.06 kB / 1.307 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/2.203, allocations: 5.234 kB / 1.307 GB, free: 186.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/2.203, allocations: 116 kB / 1.308 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/2.203, allocations: 185.2 kB / 1.308 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.069e-05/2.203, allocations: 180.3 kB / 1.308 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.9e-05/2.203, allocations: 177.2 kB / 1.308 GB, free: 186 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/2.203, allocations: 392.2 kB / 1.308 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.369e-05/2.203, allocations: 106.2 kB / 1.309 GB, free: 185.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.282e-05/2.203, allocations: 101 kB / 1.309 GB, free: 185.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.035e-05/2.203, allocations: 189 kB / 1.309 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.035e-05/2.203, allocations: 180.5 kB / 1.309 GB, free: 185 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.754e-05/2.203, allocations: 177.2 kB / 1.309 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.68e-05/2.203, allocations: 181.2 kB / 1.309 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/2.203, allocations: 315 kB / 1.31 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.845e-05/2.204, allocations: 186.7 kB / 1.31 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/2.204, allocations: 178.4 kB / 1.31 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/2.204, allocations: 108.3 kB / 1.31 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/2.204, allocations: 181.7 kB / 1.31 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/2.204, allocations: 105 kB / 1.31 GB, free: 183.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.648e-05/2.204, allocations: 87.36 kB / 1.31 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.21e-07/2.204, allocations: 0 / 1.31 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004175/2.204, allocations: 30.78 kB / 1.31 GB, free: 183.4 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005208/2.205, allocations: 0.8724 MB / 1.311 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.16e-05/2.205, allocations: 9.375 kB / 1.311 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/2.205, allocations: 0 / 1.311 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/2.205, allocations: 4.125 kB / 1.311 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/2.205, allocations: 0.5211 MB / 1.312 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/2.206, allocations: 182 kB / 1.312 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/2.206, allocations: 0.6764 MB / 1.313 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.744e-05/2.206, allocations: 8.156 kB / 1.313 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.306e-05/2.206, allocations: 8.531 kB / 1.313 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of SimCode: time 8.52e-07/2.206, allocations: 0 / 1.313 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/2.242, allocations: 1.44 MB / 1.314 GB, free: 181 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002307/2.242, allocations: 200.6 kB / 1.314 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/4.632, allocations: 3.281 kB / 1.314 GB, free: 180.8 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)