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.647/1.647, allocations: 249.3 MB / 261.8 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001238/0.001238, allocations: 174.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.0008832/0.0008832, allocations: 97.86 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.493e-05, allocations: 0 / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2547, allocations: 106.3 MB / 0.8919 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.12/1.375, allocations: 336.6 MB / 1.221 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.375, allocations: 78.52 kB / 1.221 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01826/1.394, allocations: 7.704 MB / 1.228 GB, free: 6.898 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.234e-06/1.394, allocations: 8 kB / 1.228 GB, free: 6.891 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.908e-06/1.394, allocations: 0 / 1.228 GB, free: 6.891 MB / 0.8386 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.0004085/1.394, allocations: 346.4 kB / 1.228 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/1.394, allocations: 12.03 kB / 1.229 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/1.394, allocations: 38.56 kB / 1.229 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/1.394, allocations: 0 / 1.229 GB, free: 6.449 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/1.395, allocations: 167 kB / 1.229 GB, free: 6.246 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/1.395, allocations: 29.69 kB / 1.229 GB, free: 6.211 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/1.395, allocations: 4 kB / 1.229 GB, free: 6.207 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/1.395, allocations: 37.64 kB / 1.229 GB, free: 6.164 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/1.395, allocations: 3.938 kB / 1.229 GB, free: 6.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/1.395, allocations: 4 kB / 1.229 GB, free: 6.156 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.996e-05/1.395, allocations: 7.984 kB / 1.229 GB, free: 6.148 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/1.395, allocations: 8 kB / 1.229 GB, free: 6.141 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007949/1.396, allocations: 0.595 MB / 1.229 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.34e-05/1.396, allocations: 22.52 kB / 1.229 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/1.396, allocations: 8.922 kB / 1.229 GB, free: 5.379 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/1.396, allocations: 364.4 kB / 1.23 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/1.396, allocations: 30.56 kB / 1.23 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/1.396, allocations: 0 / 1.23 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001556/1.396, allocations: 41.59 kB / 1.23 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/1.396, allocations: 59.39 kB / 1.23 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/1.397, allocations: 96.98 kB / 1.23 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/1.397, allocations: 25.7 kB / 1.23 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/1.397, allocations: 88.05 kB / 1.23 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/1.397, allocations: 3.938 kB / 1.23 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/1.397, allocations: 4 kB / 1.23 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.397, allocations: 314.8 kB / 1.23 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.443e-05/1.397, allocations: 4 kB / 1.23 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.485e-05/1.397, allocations: 17.72 kB / 1.23 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/1.397, allocations: 8 kB / 1.23 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.397, allocations: 0 / 1.23 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.354e-05/1.397, allocations: 45.62 kB / 1.23 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.397, allocations: 4 kB / 1.23 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.397, allocations: 4 kB / 1.23 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/1.397, allocations: 3.938 kB / 1.23 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/1.397, allocations: 8.047 kB / 1.23 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.397, allocations: 4 kB / 1.23 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.479e-05/1.397, allocations: 11.89 kB / 1.23 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/1.397, allocations: 0 / 1.23 GB, free: 4.125 MB / 0.8386 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 6.574e-05/1.397, allocations: 105 kB / 1.231 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/1.397, allocations: 7.906 kB / 1.231 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/1.397, allocations: 122.8 kB / 1.231 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.981e-05/1.397, allocations: 184.3 kB / 1.231 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.369e-05/1.398, allocations: 180.3 kB / 1.231 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-05/1.398, allocations: 180.2 kB / 1.231 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/1.398, allocations: 405.2 kB / 1.232 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.559e-05/1.398, allocations: 108.9 kB / 1.232 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.407e-05/1.398, allocations: 101 kB / 1.232 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.65e-05/1.398, allocations: 188.3 kB / 1.232 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/1.398, allocations: 184.2 kB / 1.232 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001196/1.398, allocations: 176.3 kB / 1.232 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001122/1.399, allocations: 184.1 kB / 1.233 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/1.399, allocations: 319.7 kB / 1.233 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-05/1.399, allocations: 178.1 kB / 1.233 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/1.399, allocations: 184.3 kB / 1.233 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/1.399, allocations: 112.9 kB / 1.233 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.525e-05/1.399, allocations: 180.3 kB / 1.233 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/1.399, allocations: 108.9 kB / 1.234 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.937e-05/1.399, allocations: 83.28 kB / 1.234 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.399, allocations: 0 / 1.234 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002996/1.4, allocations: 31.98 kB / 1.234 GB, free: 0.6562 MB / 0.8386 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.0007648/1.4, allocations: 0.8604 MB / 1.235 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.159e-05/1.4, allocations: 11.94 kB / 1.235 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.4, allocations: 0 / 1.235 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/1.4, allocations: 8.109 kB / 1.235 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/1.401, allocations: 0.5185 MB / 1.235 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004285/1.401, allocations: 178.5 kB / 1.235 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/1.402, allocations: 0.677 MB / 1.236 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.64e-05/1.402, allocations: 10.25 kB / 1.236 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.194e-05/1.402, allocations: 11.38 kB / 1.236 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of SimCode: time 5.71e-07/1.402, allocations: 0 / 1.236 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/1.418, allocations: 1.859 MB / 1.238 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/1.419, allocations: 213.2 kB / 1.238 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/3.068, allocations: 0 / 1.238 GB, free: 12.42 MB / 0.8542 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)