Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 183 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.4 MB / 0.5775 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009552/0.0009552, allocations: 98.2 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004585, allocations: 8.531 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3054, allocations: 106.3 MB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.333, allocations: 336.6 MB / 1.229 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/1.333, allocations: 83.14 kB / 1.229 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01835/1.351, allocations: 7.751 MB / 1.237 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.276e-06/1.352, allocations: 0 / 1.237 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.745e-06/1.352, allocations: 0 / 1.237 GB, free: 7.797 MB / 0.7448 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.0004541/1.352, allocations: 354.6 kB / 1.237 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/1.352, allocations: 8.031 kB / 1.237 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.937e-05/1.352, allocations: 34.56 kB / 1.237 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/1.352, allocations: 4 kB / 1.237 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/1.352, allocations: 171 kB / 1.237 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.409e-05/1.352, allocations: 25.7 kB / 1.237 GB, free: 7.113 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/1.352, allocations: 7.75 kB / 1.237 GB, free: 7.109 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/1.353, allocations: 41.67 kB / 1.237 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/1.353, allocations: 0 / 1.237 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/1.353, allocations: 3.938 kB / 1.237 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/1.353, allocations: 0 / 1.237 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.397e-05/1.353, allocations: 15.42 kB / 1.237 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007082/1.353, allocations: 0.5856 MB / 1.238 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.284e-05/1.354, allocations: 18.58 kB / 1.238 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/1.354, allocations: 343.8 kB / 1.238 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/1.354, allocations: 34.56 kB / 1.238 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.653e-06/1.354, allocations: 3.938 kB / 1.238 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001669/1.354, allocations: 45.09 kB / 1.238 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/1.354, allocations: 51.41 kB / 1.238 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/1.354, allocations: 100.3 kB / 1.238 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/1.354, allocations: 25.7 kB / 1.238 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/1.354, allocations: 92.02 kB / 1.238 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/1.354, allocations: 3.938 kB / 1.238 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/1.354, allocations: 0 / 1.238 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.354, allocations: 320 kB / 1.239 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/1.354, allocations: 128 / 1.239 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.663e-05/1.354, allocations: 21.7 kB / 1.239 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.605e-05/1.354, allocations: 11.12 kB / 1.239 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.355, allocations: 0 / 1.239 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.609e-05/1.355, allocations: 49.31 kB / 1.239 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.355, allocations: 8 kB / 1.239 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.355, allocations: 0 / 1.239 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.355, allocations: 0 / 1.239 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/1.355, allocations: 12 kB / 1.239 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.355, allocations: 0 / 1.239 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.145e-05/1.355, allocations: 4 kB / 1.239 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/1.355, allocations: 3.953 kB / 1.239 GB, free: 5.105 MB / 0.7448 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.523e-05/1.355, allocations: 109.8 kB / 1.239 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/1.355, allocations: 3.906 kB / 1.239 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/1.355, allocations: 120.9 kB / 1.239 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-05/1.355, allocations: 184.2 kB / 1.239 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-05/1.355, allocations: 176.3 kB / 1.239 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.994e-05/1.355, allocations: 192.1 kB / 1.24 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/1.355, allocations: 404.5 kB / 1.24 GB, free: 3.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.311e-05/1.356, allocations: 109 kB / 1.24 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/1.356, allocations: 108.9 kB / 1.24 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.467e-05/1.356, allocations: 179.8 kB / 1.24 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.182e-05/1.356, allocations: 180.2 kB / 1.241 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.118e-05/1.356, allocations: 180.3 kB / 1.241 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.86e-05/1.356, allocations: 180.2 kB / 1.241 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001549/1.356, allocations: 311.5 kB / 1.241 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/1.356, allocations: 186 kB / 1.241 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.68e-05/1.356, allocations: 183.7 kB / 1.242 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/1.356, allocations: 109 kB / 1.242 GB, free: 2.062 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/1.356, allocations: 184.5 kB / 1.242 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/1.357, allocations: 106.3 kB / 1.242 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.983e-05/1.357, allocations: 82.78 kB / 1.242 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/1.357, allocations: 0 / 1.242 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003255/1.357, allocations: 35.92 kB / 1.242 GB, free: 1.652 MB / 0.7448 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.0006351/1.358, allocations: 0.8681 MB / 1.243 GB, free: 0.7617 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.246e-05/1.358, allocations: 11.75 kB / 1.243 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.358, allocations: 128 / 1.243 GB, free: 0.7539 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/1.358, allocations: 4 kB / 1.243 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/1.358, allocations: 0.5318 MB / 1.243 GB, free: 224 kB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/1.359, allocations: 230 kB / 1.244 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/1.359, allocations: 0.6848 MB / 1.244 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 5.208e-05/1.359, allocations: 5.406 kB / 1.244 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/1.359, allocations: 11.38 kB / 1.244 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of SimCode: time 3.11e-07/1.359, allocations: 0 / 1.244 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/1.373, allocations: 1.836 MB / 1.246 GB, free: 13.62 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/1.374, allocations: 248.7 kB / 1.246 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/3.107, allocations: 0 / 1.246 GB, free: 13.38 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)