Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.573/2.573, allocations: 387.1 MB / 399.7 MB, free: 9.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 176.8 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.934/1.934, allocations: 221.3 MB / 0.7871 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001118, allocations: 89.91 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.521e-05/3.533e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4199, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.493/1.913, allocations: 352.8 MB / 1.557 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.913, allocations: 84.81 kB / 1.557 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.02203/1.935, allocations: 9.145 MB / 1.566 GB, free: 4.809 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.857e-06/1.935, allocations: 0 / 1.566 GB, free: 4.809 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.845e-06/1.935, allocations: 7.938 kB / 1.566 GB, free: 4.801 MB / 0.9792 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.0003704/1.936, allocations: 341.9 kB / 1.566 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/1.936, allocations: 12.03 kB / 1.566 GB, free: 4.414 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.132e-05/1.936, allocations: 34.55 kB / 1.566 GB, free: 4.371 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/1.936, allocations: 0 / 1.566 GB, free: 4.371 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/1.936, allocations: 167.8 kB / 1.567 GB, free: 4.168 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/1.936, allocations: 25.7 kB / 1.567 GB, free: 4.137 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/1.936, allocations: 0 / 1.567 GB, free: 4.137 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/1.936, allocations: 45.5 kB / 1.567 GB, free: 4.09 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/1.936, allocations: 3.984 kB / 1.567 GB, free: 4.086 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/1.936, allocations: 0 / 1.567 GB, free: 4.086 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/1.936, allocations: 7.984 kB / 1.567 GB, free: 4.078 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.918e-05/1.936, allocations: 14.88 kB / 1.567 GB, free: 4.066 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008543/1.937, allocations: 0.5962 MB / 1.567 GB, free: 3.359 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 4.281e-05/1.937, allocations: 14.58 kB / 1.567 GB, free: 3.336 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.446e-05/1.937, allocations: 15.61 kB / 1.567 GB, free: 3.32 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003407/1.938, allocations: 361.2 kB / 1.568 GB, free: 2.902 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.938, allocations: 34.5 kB / 1.568 GB, free: 2.859 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/1.938, allocations: 0 / 1.568 GB, free: 2.859 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0001484/1.938, allocations: 37.69 kB / 1.568 GB, free: 2.816 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/1.938, allocations: 55.36 kB / 1.568 GB, free: 2.75 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/1.938, allocations: 96.66 kB / 1.568 GB, free: 2.652 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/1.938, allocations: 25.7 kB / 1.568 GB, free: 2.621 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/1.938, allocations: 95.11 kB / 1.568 GB, free: 2.527 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/1.938, allocations: 3.984 kB / 1.568 GB, free: 2.523 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-06/1.938, allocations: 0 / 1.568 GB, free: 2.523 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.938, allocations: 310.8 kB / 1.568 GB, free: 2.211 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/1.938, allocations: 4 kB / 1.568 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.732e-05/1.938, allocations: 21.34 kB / 1.568 GB, free: 2.184 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.15e-05/1.938, allocations: 11.94 kB / 1.568 GB, free: 2.172 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/1.938, allocations: 0 / 1.568 GB, free: 2.172 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.783e-05/1.938, allocations: 45.06 kB / 1.568 GB, free: 2.125 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/1.938, allocations: 4 kB / 1.568 GB, free: 2.121 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.938, allocations: 7.938 kB / 1.568 GB, free: 2.113 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/1.938, allocations: 0 / 1.568 GB, free: 2.113 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.676e-05/1.938, allocations: 7.984 kB / 1.568 GB, free: 2.105 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/1.939, allocations: 3.938 kB / 1.568 GB, free: 2.102 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.571e-05/1.939, allocations: 15.92 kB / 1.568 GB, free: 2.086 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/1.939, allocations: 0 / 1.568 GB, free: 2.086 MB / 0.9792 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 9.36e-05/1.939, allocations: 101 kB / 1.568 GB, free: 1.98 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/1.939, allocations: 4 kB / 1.568 GB, free: 1.977 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/1.939, allocations: 120.6 kB / 1.569 GB, free: 1.852 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-05/1.939, allocations: 180.2 kB / 1.569 GB, free: 1.668 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.144e-05/1.939, allocations: 180.3 kB / 1.569 GB, free: 1.484 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.354e-05/1.939, allocations: 179.6 kB / 1.569 GB, free: 1.305 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/1.939, allocations: 409.1 kB / 1.569 GB, free: 0.8477 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.336e-05/1.939, allocations: 105 kB / 1.57 GB, free: 0.7383 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-05/1.94, allocations: 112.2 kB / 1.57 GB, free: 0.625 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.414e-05/1.94, allocations: 180.2 kB / 1.57 GB, free: 452 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.543e-05/1.94, allocations: 180.3 kB / 1.57 GB, free: 264 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.558e-05/1.94, allocations: 180.2 kB / 1.57 GB, free: 76 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.626e-05/1.94, allocations: 180.4 kB / 1.57 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002095/1.94, allocations: 315 kB / 1.571 GB, free: 15.56 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/1.94, allocations: 188.5 kB / 1.571 GB, free: 15.36 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.431e-05/1.94, allocations: 176.3 kB / 1.571 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/1.941, allocations: 109 kB / 1.571 GB, free: 15.06 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.643e-05/1.941, allocations: 187.6 kB / 1.571 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.173e-05/1.941, allocations: 101 kB / 1.571 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 6.101e-05/1.941, allocations: 83.28 kB / 1.571 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.941, allocations: 0 / 1.571 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003214/1.941, allocations: 39.05 kB / 1.571 GB, free: 14.65 MB / 0.9948 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.0007185/1.942, allocations: 0.8769 MB / 1.572 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001123/1.942, allocations: 11.12 kB / 1.572 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.942, allocations: 0 / 1.572 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 6.622e-06/1.942, allocations: 7.922 kB / 1.572 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/1.942, allocations: 0.5227 MB / 1.573 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/1.943, allocations: 170.4 kB / 1.573 GB, free: 13.01 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/1.943, allocations: 0.677 MB / 1.574 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 5.167e-05/1.943, allocations: 10.61 kB / 1.574 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.489e-05/1.943, allocations: 11.44 kB / 1.574 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of SimCode: time 8.12e-07/1.943, allocations: 0 / 1.574 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/1.957, allocations: 1.875 MB / 1.576 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/1.958, allocations: 204.7 kB / 1.576 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/3.661, allocations: 0 / 1.576 GB, free: 10.4 MB / 0.9948 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat