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.579/2.579, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.001562/0.001562, allocations: 175 kB / 370.8 MB, free: 10.83 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.092/2.092, allocations: 205.4 MB / 0.6295 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001788/0.001788, allocations: 104.6 kB / 0.7428 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004936/0.0004936, allocations: 12.8 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2261, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.482, allocations: 342.8 MB / 1.313 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/1.483, allocations: 81.75 kB / 1.313 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.02892/1.512, allocations: 7.741 MB / 1.321 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.633e-06/1.512, allocations: 0 / 1.321 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.364e-06/1.512, allocations: 0 / 1.321 GB, free: 15.79 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.0004743/1.512, allocations: 362.4 kB / 1.321 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/1.512, allocations: 16.02 kB / 1.321 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.612e-05/1.512, allocations: 30.56 kB / 1.321 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/1.512, allocations: 4.781 kB / 1.321 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/1.513, allocations: 167 kB / 1.321 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.054e-05/1.513, allocations: 25.7 kB / 1.321 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/1.513, allocations: 7.375 kB / 1.321 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/1.513, allocations: 45.61 kB / 1.321 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.513, allocations: 0 / 1.321 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/1.513, allocations: 4 kB / 1.321 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/1.513, allocations: 4 kB / 1.321 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.092e-05/1.513, allocations: 19.55 kB / 1.321 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007754/1.514, allocations: 0.5807 MB / 1.322 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.517e-05/1.514, allocations: 21.89 kB / 1.322 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/1.514, allocations: 347.3 kB / 1.322 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/1.514, allocations: 30.56 kB / 1.322 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 2.114e-06/1.514, allocations: 0 / 1.322 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001739/1.514, allocations: 37.7 kB / 1.322 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/1.514, allocations: 51.41 kB / 1.322 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.601e-05/1.515, allocations: 100.4 kB / 1.322 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/1.515, allocations: 25.7 kB / 1.322 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/1.515, allocations: 88.05 kB / 1.323 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-06/1.515, allocations: 3.438 kB / 1.323 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/1.515, allocations: 0 / 1.323 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.515, allocations: 312.6 kB / 1.323 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.05e-05/1.515, allocations: 15.92 kB / 1.323 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/1.515, allocations: 17.16 kB / 1.323 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.018e-05/1.515, allocations: 4 kB / 1.323 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.515, allocations: 0 / 1.323 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000114/1.515, allocations: 52.78 kB / 1.323 GB, free: 13.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.515, allocations: 7.938 kB / 1.323 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.515, allocations: 0 / 1.323 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/1.515, allocations: 8.156 kB / 1.323 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/1.515, allocations: 7.984 kB / 1.323 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.515, allocations: 0 / 1.323 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/1.515, allocations: 3.938 kB / 1.323 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/1.515, allocations: 11.94 kB / 1.323 GB, free: 13.08 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.085e-05/1.515, allocations: 110.8 kB / 1.323 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/1.516, allocations: 4 kB / 1.323 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/1.516, allocations: 119.7 kB / 1.323 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-05/1.516, allocations: 184.2 kB / 1.323 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.096e-05/1.516, allocations: 176.3 kB / 1.324 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.689e-05/1.516, allocations: 180.2 kB / 1.324 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002716/1.516, allocations: 408.3 kB / 1.324 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.727e-05/1.516, allocations: 108.9 kB / 1.324 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/1.516, allocations: 105 kB / 1.324 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.699e-05/1.516, allocations: 183.8 kB / 1.324 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-05/1.516, allocations: 184.2 kB / 1.325 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-05/1.517, allocations: 180.2 kB / 1.325 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.873e-05/1.517, allocations: 180.2 kB / 1.325 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/1.517, allocations: 311.4 kB / 1.325 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/1.517, allocations: 189.9 kB / 1.325 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.292e-05/1.517, allocations: 180.9 kB / 1.326 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/1.517, allocations: 112.9 kB / 1.326 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.731e-05/1.517, allocations: 184.3 kB / 1.326 GB, free: 9.855 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/1.517, allocations: 101 kB / 1.326 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.967e-05/1.518, allocations: 86.72 kB / 1.326 GB, free: 9.668 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.31e-07/1.518, allocations: 3.938 kB / 1.326 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003843/1.518, allocations: 43.36 kB / 1.326 GB, free: 9.625 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 () * 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 (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.0006681/1.519, allocations: 0.847 MB / 1.327 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.677e-05/1.519, allocations: 23.86 kB / 1.327 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/1.519, allocations: 0 / 1.327 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.896e-06/1.519, allocations: 0 / 1.327 GB, free: 8.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/1.519, allocations: 0.5232 MB / 1.328 GB, free: 8.207 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005245/1.52, allocations: 233.4 kB / 1.328 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/1.52, allocations: 0.677 MB / 1.328 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.809e-05/1.52, allocations: 10.09 kB / 1.328 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.402e-05/1.52, allocations: 11.44 kB / 1.328 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of SimCode: time 1.132e-06/1.52, allocations: 0 / 1.328 GB, free: 7.223 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/1.541, allocations: 1.852 MB / 1.33 GB, free: 5.594 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003557/1.541, allocations: 231.2 kB / 1.33 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.929, allocations: 3.438 kB / 1.33 GB, free: 5.359 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)