Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.00133/0.00133, allocations: 184.9 kB / 361.4 MB, free: 6.867 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.739/1.739, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009269/0.0009271, allocations: 92.83 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.118e-05/2.12e-05, allocations: 3.984 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6652/0.6652, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9356/1.601, allocations: 342.2 MB / 1.299 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/1.601, allocations: 80.94 kB / 1.299 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01748/1.619, allocations: 7.668 MB / 1.306 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.055e-06/1.619, allocations: 0 / 1.306 GB, free: 188.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.41e-06/1.619, allocations: 5.25 kB / 1.306 GB, free: 188.7 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.0003121/1.619, allocations: 348 kB / 1.307 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/1.619, allocations: 9.594 kB / 1.307 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/1.619, allocations: 2.219 kB / 1.307 GB, free: 188.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/1.619, allocations: 164.7 kB / 1.307 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.182e-05/1.619, allocations: 34.44 kB / 1.307 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/1.619, allocations: 4.859 kB / 1.307 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.48e-05/1.619, allocations: 8.688 kB / 1.307 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.956e-05/1.62, allocations: 42.69 kB / 1.307 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/1.62, allocations: 1.688 kB / 1.307 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/1.62, allocations: 0 / 1.307 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/1.62, allocations: 1.531 kB / 1.307 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/1.62, allocations: 0.5883 MB / 1.307 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.525e-05/1.62, allocations: 16.52 kB / 1.307 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.493e-05/1.62, allocations: 7.484 kB / 1.307 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002056/1.62, allocations: 359 kB / 1.308 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/1.621, allocations: 32.38 kB / 1.308 GB, free: 187 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/1.621, allocations: 0.7812 kB / 1.308 GB, free: 187 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0002419/1.621, allocations: 47.56 kB / 1.308 GB, free: 187 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.141e-05/1.621, allocations: 51.41 kB / 1.308 GB, free: 186.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/1.621, allocations: 98.66 kB / 1.308 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/1.621, allocations: 25.7 kB / 1.308 GB, free: 186.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/1.621, allocations: 90.17 kB / 1.308 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.229e-06/1.621, allocations: 0 / 1.308 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/1.621, allocations: 3.938 kB / 1.308 GB, free: 186.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.742e-05/1.621, allocations: 315.9 kB / 1.308 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/1.621, allocations: 7.469 kB / 1.308 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/1.621, allocations: 19.92 kB / 1.308 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/1.621, allocations: 17.11 kB / 1.308 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.621, allocations: 0 / 1.308 GB, free: 186.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001785/1.621, allocations: 66.3 kB / 1.308 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.621, allocations: 5.469 kB / 1.308 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.621, allocations: 0 / 1.308 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/1.621, allocations: 9 kB / 1.308 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.827e-05/1.622, allocations: 5.062 kB / 1.308 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/1.622, allocations: 0 / 1.308 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.787e-05/1.622, allocations: 5.062 kB / 1.308 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/1.622, allocations: 2.094 kB / 1.308 GB, free: 186.3 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 5.309e-05/1.622, allocations: 109 kB / 1.309 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001162/1.622, allocations: 45.02 kB / 1.309 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.065e-05/1.622, allocations: 1.094 kB / 1.309 GB, free: 186.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.865e-05/1.622, allocations: 126 kB / 1.309 GB, free: 186.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/1.622, allocations: 181.5 kB / 1.309 GB, free: 185.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.562e-05/1.622, allocations: 185.1 kB / 1.309 GB, free: 185.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.817e-05/1.622, allocations: 177.8 kB / 1.309 GB, free: 185.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/1.622, allocations: 390.5 kB / 1.31 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/1.622, allocations: 110.2 kB / 1.31 GB, free: 185 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.786e-05/1.622, allocations: 102.3 kB / 1.31 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.731e-05/1.622, allocations: 181.4 kB / 1.31 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/1.622, allocations: 176.3 kB / 1.31 GB, free: 184.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.917e-05/1.622, allocations: 180.9 kB / 1.31 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.144e-05/1.622, allocations: 181.2 kB / 1.311 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.616e-05/1.622, allocations: 312.2 kB / 1.311 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.16e-05/1.622, allocations: 187.3 kB / 1.311 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/1.622, allocations: 177.5 kB / 1.311 GB, free: 183.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/1.623, allocations: 111.4 kB / 1.311 GB, free: 183.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/1.623, allocations: 185.5 kB / 1.311 GB, free: 183.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/1.623, allocations: 102.4 kB / 1.312 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.961e-05/1.623, allocations: 82.66 kB / 1.312 GB, free: 183 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.343e-06/1.623, allocations: 0.9062 kB / 1.312 GB, free: 183 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000283/1.623, allocations: 37.27 kB / 1.312 GB, free: 183 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.0003722/1.623, allocations: 0.8707 MB / 1.313 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.548e-05/1.623, allocations: 16.23 kB / 1.313 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.623, allocations: 0 / 1.313 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.283e-06/1.623, allocations: 1.562 kB / 1.313 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/1.624, allocations: 0.5162 MB / 1.313 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/1.624, allocations: 178.3 kB / 1.313 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/1.624, allocations: 0.6816 MB / 1.314 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.123e-05/1.624, allocations: 3.875 kB / 1.314 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/1.624, allocations: 12.95 kB / 1.314 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/1.624, allocations: 0 / 1.314 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/1.645, allocations: 1.44 MB / 1.315 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/1.646, allocations: 210 kB / 1.316 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/3.157, allocations: 0 / 1.316 GB, free: 180.3 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)