Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.69/1.69, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.001039/0.001039, allocations: 180.8 kB / 366.7 MB, free: 1.66 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.727/1.727, allocations: 205.3 MB / 0.626 GB, free: 7.148 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.001042/0.001042, allocations: 82.89 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.507e-05/1.52e-05, allocations: 0 / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6834, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9484/1.632, allocations: 341.7 MB / 1.307 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.632, allocations: 80.05 kB / 1.307 GB, free: 182.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0164/1.649, allocations: 7.656 MB / 1.315 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.403e-06/1.649, allocations: 0 / 1.315 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.272e-06/1.649, allocations: 0 / 1.315 GB, free: 181.8 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.0002931/1.649, allocations: 343.8 kB / 1.315 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.649, allocations: 9.531 kB / 1.315 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/1.649, allocations: 1.375 kB / 1.315 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.941e-05/1.649, allocations: 169.7 kB / 1.315 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.578e-05/1.649, allocations: 28.42 kB / 1.315 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/1.649, allocations: 0 / 1.315 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.652e-05/1.649, allocations: 19.8 kB / 1.315 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.154e-05/1.649, allocations: 36.3 kB / 1.315 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/1.649, allocations: 3.984 kB / 1.315 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/1.649, allocations: 1.312 kB / 1.315 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/1.649, allocations: 5 kB / 1.315 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005603/1.65, allocations: 0.5764 MB / 1.316 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.381e-05/1.65, allocations: 23.89 kB / 1.316 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/1.65, allocations: 10.11 kB / 1.316 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/1.65, allocations: 360.9 kB / 1.316 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/1.65, allocations: 35.31 kB / 1.316 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/1.65, allocations: 0 / 1.316 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0002345/1.651, allocations: 40.17 kB / 1.316 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/1.651, allocations: 53.19 kB / 1.316 GB, free: 180 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/1.651, allocations: 99.91 kB / 1.316 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/1.651, allocations: 29.64 kB / 1.316 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.235e-05/1.651, allocations: 85.42 kB / 1.316 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/1.651, allocations: 5.031 kB / 1.316 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/1.651, allocations: 3.938 kB / 1.316 GB, free: 179.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.999e-05/1.651, allocations: 319.7 kB / 1.317 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/1.651, allocations: 1.375 kB / 1.317 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/1.651, allocations: 17.84 kB / 1.317 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/1.651, allocations: 24.69 kB / 1.317 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.651, allocations: 0 / 1.317 GB, free: 179.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001653/1.651, allocations: 54.69 kB / 1.317 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.651, allocations: 9.344 kB / 1.317 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/1.651, allocations: 2.188 kB / 1.317 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.651, allocations: 1.375 kB / 1.317 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.851e-05/1.651, allocations: 5.406 kB / 1.317 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/1.651, allocations: 6.484 kB / 1.317 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.952e-05/1.651, allocations: 5.156 kB / 1.317 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.978e-06/1.651, allocations: 1.25 kB / 1.317 GB, free: 179.4 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 4.612e-05/1.651, allocations: 115.7 kB / 1.317 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001106/1.651, allocations: 41.45 kB / 1.317 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.076e-05/1.652, allocations: 1.375 kB / 1.317 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.797e-05/1.652, allocations: 121.9 kB / 1.317 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/1.652, allocations: 181.7 kB / 1.317 GB, free: 179 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.507e-05/1.652, allocations: 181.4 kB / 1.317 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/1.652, allocations: 185.3 kB / 1.318 GB, free: 178.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/1.652, allocations: 384.2 kB / 1.318 GB, free: 178.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/1.652, allocations: 105 kB / 1.318 GB, free: 178.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/1.652, allocations: 110.2 kB / 1.318 GB, free: 178 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.707e-05/1.652, allocations: 181.6 kB / 1.318 GB, free: 177.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.771e-05/1.652, allocations: 176.3 kB / 1.319 GB, free: 177.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-05/1.652, allocations: 187.8 kB / 1.319 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.007e-05/1.652, allocations: 177.6 kB / 1.319 GB, free: 177.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.478e-05/1.652, allocations: 307.8 kB / 1.319 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/1.652, allocations: 190.8 kB / 1.319 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/1.652, allocations: 177.6 kB / 1.32 GB, free: 176.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/1.652, allocations: 111.4 kB / 1.32 GB, free: 176.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/1.652, allocations: 181.5 kB / 1.32 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/1.652, allocations: 104.6 kB / 1.32 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.741e-05/1.652, allocations: 87.28 kB / 1.32 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.163e-06/1.652, allocations: 0 / 1.32 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002719/1.653, allocations: 34.69 kB / 1.32 GB, free: 176 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.0003265/1.653, allocations: 0.8591 MB / 1.321 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.083e-05/1.653, allocations: 18.92 kB / 1.321 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.653, allocations: 4.125 kB / 1.321 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/1.653, allocations: 0 / 1.321 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/1.653, allocations: 0.5182 MB / 1.321 GB, free: 174.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/1.654, allocations: 168.2 kB / 1.322 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/1.654, allocations: 0.6766 MB / 1.322 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.484e-05/1.654, allocations: 14.73 kB / 1.322 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/1.654, allocations: 12.47 kB / 1.322 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/1.654, allocations: 0 / 1.322 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/1.673, allocations: 1.445 MB / 1.324 GB, free: 173.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/1.673, allocations: 197.6 kB / 1.324 GB, free: 173.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/3.256, allocations: 0 / 1.324 GB, free: 173.5 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)