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.65/1.65, allocations: 288.2 MB / 303.2 MB, free: 8.285 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.001049/0.001049, allocations: 187.1 kB / 371.8 MB, free: 10.26 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.699/1.699, allocations: 205.4 MB / 0.6305 GB, free: 9.973 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.0009657/0.0009661, allocations: 98.86 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004477/0.0004477, allocations: 9.969 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2813, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.109/1.391, allocations: 342.9 MB / 1.314 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/1.391, allocations: 76.52 kB / 1.314 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01827/1.409, allocations: 7.745 MB / 1.322 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.504e-06/1.409, allocations: 0 / 1.322 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.196e-06/1.409, allocations: 0 / 1.322 GB, free: 14.3 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.0004389/1.41, allocations: 358.8 kB / 1.322 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/1.41, allocations: 16.02 kB / 1.322 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.335e-05/1.41, allocations: 38.42 kB / 1.322 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/1.41, allocations: 0.7812 kB / 1.322 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/1.41, allocations: 167 kB / 1.323 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/1.41, allocations: 29.64 kB / 1.323 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/1.41, allocations: 0 / 1.323 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/1.41, allocations: 44.8 kB / 1.323 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.41, allocations: 4 kB / 1.323 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/1.411, allocations: 7.984 kB / 1.323 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/1.411, allocations: 0 / 1.323 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.874e-05/1.411, allocations: 8 kB / 1.323 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/1.411, allocations: 0.5901 MB / 1.323 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.468e-05/1.411, allocations: 21.64 kB / 1.323 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/1.412, allocations: 348.1 kB / 1.324 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/1.412, allocations: 34.56 kB / 1.324 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/1.412, allocations: 0 / 1.324 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001866/1.412, allocations: 37.69 kB / 1.324 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/1.412, allocations: 51.41 kB / 1.324 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/1.412, allocations: 96.92 kB / 1.324 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/1.412, allocations: 29.64 kB / 1.324 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.813e-05/1.412, allocations: 92.17 kB / 1.324 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.013e-06/1.412, allocations: 0 / 1.324 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-06/1.412, allocations: 0 / 1.324 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.412, allocations: 324.3 kB / 1.324 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/1.412, allocations: 4 kB / 1.324 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.7e-05/1.412, allocations: 21.64 kB / 1.324 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.34e-05/1.412, allocations: 7.938 kB / 1.324 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.412, allocations: 0 / 1.324 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.918e-05/1.413, allocations: 53.53 kB / 1.324 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/1.413, allocations: 4 kB / 1.324 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/1.413, allocations: 0 / 1.324 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/1.413, allocations: 4 kB / 1.324 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.363e-05/1.413, allocations: 7.75 kB / 1.324 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.413, allocations: 0 / 1.324 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/1.413, allocations: 3.938 kB / 1.324 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/1.413, allocations: 4 kB / 1.324 GB, free: 11.6 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 8.69e-05/1.413, allocations: 117.8 kB / 1.324 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/1.413, allocations: 4 kB / 1.324 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/1.413, allocations: 116.7 kB / 1.325 GB, free: 11.36 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.065e-05/1.413, allocations: 180.3 kB / 1.325 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.911e-05/1.413, allocations: 180.2 kB / 1.325 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.272e-05/1.413, allocations: 180.2 kB / 1.325 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002364/1.413, allocations: 411.7 kB / 1.325 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.624e-05/1.413, allocations: 108.9 kB / 1.326 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/1.414, allocations: 101 kB / 1.326 GB, free: 10.13 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.447e-05/1.414, allocations: 183.1 kB / 1.326 GB, free: 9.945 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/1.414, allocations: 180.2 kB / 1.326 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.997e-05/1.414, allocations: 184.2 kB / 1.326 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.088e-05/1.414, allocations: 180.2 kB / 1.326 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001683/1.414, allocations: 310.7 kB / 1.327 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.975e-05/1.414, allocations: 189.7 kB / 1.327 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/1.414, allocations: 177.9 kB / 1.327 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/1.414, allocations: 112.9 kB / 1.327 GB, free: 8.562 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.027e-05/1.414, allocations: 184.2 kB / 1.327 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/1.415, allocations: 108.9 kB / 1.327 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.997e-05/1.415, allocations: 82.47 kB / 1.327 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.21e-07/1.415, allocations: 0 / 1.327 GB, free: 8.184 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003033/1.415, allocations: 42.98 kB / 1.328 GB, free: 8.145 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.0005764/1.415, allocations: 0.8588 MB / 1.328 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.253e-05/1.416, allocations: 11.38 kB / 1.328 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.416, allocations: 0 / 1.328 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-06/1.416, allocations: 0 / 1.328 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/1.416, allocations: 0.5318 MB / 1.329 GB, free: 6.719 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004848/1.416, allocations: 233.2 kB / 1.329 GB, free: 6.453 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/1.417, allocations: 0.677 MB / 1.33 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.297e-05/1.417, allocations: 6.531 kB / 1.33 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/1.417, allocations: 11.42 kB / 1.33 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of SimCode: time 2.054e-06/1.417, allocations: 4 kB / 1.33 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/1.433, allocations: 1.839 MB / 1.332 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/1.433, allocations: 240.9 kB / 1.332 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/3.049, allocations: 0 / 1.332 GB, free: 3.891 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)