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.248/2.248, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001192/0.001192, allocations: 191.2 kB / 498.1 MB, free: 5.688 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.711/1.711, allocations: 223.2 MB / 0.7948 GB, free: 18.81 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.0009023/0.0009019, allocations: 117.8 kB / 0.9346 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004114/0.0004115, allocations: 8.531 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3635, allocations: 142.4 MB / 1.223 GB, free: 89.46 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.088/1.452, allocations: 352.8 MB / 1.567 GB, free: 3.34 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/1.452, allocations: 81.31 kB / 1.568 GB, free: 3.293 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.02081/1.473, allocations: 9.179 MB / 1.577 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.805e-06/1.473, allocations: 0 / 1.577 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.018e-05/1.473, allocations: 4 kB / 1.577 GB, free: 11.89 MB / 0.9167 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.0004366/1.474, allocations: 346.9 kB / 1.577 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/1.474, allocations: 12.03 kB / 1.577 GB, free: 11.49 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/1.474, allocations: 30.56 kB / 1.577 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/1.474, allocations: 4.734 kB / 1.577 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/1.474, allocations: 170.9 kB / 1.577 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/1.474, allocations: 33.64 kB / 1.577 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/1.474, allocations: 0 / 1.577 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/1.474, allocations: 37.69 kB / 1.577 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.474, allocations: 0 / 1.577 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/1.474, allocations: 3.984 kB / 1.577 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.138e-05/1.474, allocations: 4 kB / 1.577 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/1.474, allocations: 7.188 kB / 1.577 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006991/1.475, allocations: 0.6015 MB / 1.578 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.468e-05/1.475, allocations: 14.58 kB / 1.578 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/1.475, allocations: 343.7 kB / 1.578 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/1.475, allocations: 34.55 kB / 1.578 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/1.475, allocations: 0 / 1.578 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001666/1.476, allocations: 45.47 kB / 1.578 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/1.476, allocations: 55.53 kB / 1.578 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/1.476, allocations: 92.98 kB / 1.578 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/1.476, allocations: 33.14 kB / 1.578 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/1.476, allocations: 87.98 kB / 1.578 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.353e-06/1.476, allocations: 4 kB / 1.578 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-06/1.476, allocations: 0 / 1.578 GB, free: 9.633 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.476, allocations: 314.8 kB / 1.579 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.58e-05/1.476, allocations: 7.812 kB / 1.579 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.643e-05/1.476, allocations: 21.7 kB / 1.579 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.091e-05/1.476, allocations: 4 kB / 1.579 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.476, allocations: 0 / 1.579 GB, free: 9.281 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.36e-05/1.476, allocations: 53.22 kB / 1.579 GB, free: 9.227 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/1.476, allocations: 4.938 kB / 1.579 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.476, allocations: 0 / 1.579 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/1.476, allocations: 4 kB / 1.579 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.131e-05/1.476, allocations: 4 kB / 1.579 GB, free: 9.215 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.476, allocations: 8.016 kB / 1.579 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/1.476, allocations: 0 / 1.579 GB, free: 9.207 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/1.476, allocations: 7.438 kB / 1.579 GB, free: 9.203 MB / 0.9167 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.43e-05/1.476, allocations: 111.5 kB / 1.579 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/1.476, allocations: 0 / 1.579 GB, free: 9.086 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/1.477, allocations: 120.7 kB / 1.579 GB, free: 8.961 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/1.477, allocations: 188.2 kB / 1.579 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.143e-05/1.477, allocations: 180.2 kB / 1.579 GB, free: 8.586 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.674e-05/1.477, allocations: 180.5 kB / 1.58 GB, free: 8.402 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/1.477, allocations: 404.7 kB / 1.58 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-05/1.477, allocations: 104.9 kB / 1.58 GB, free: 7.844 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.529e-05/1.477, allocations: 101 kB / 1.58 GB, free: 7.738 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-05/1.477, allocations: 192.2 kB / 1.58 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.343e-05/1.477, allocations: 180.3 kB / 1.581 GB, free: 7.359 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.697e-05/1.477, allocations: 188 kB / 1.581 GB, free: 7.172 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.867e-05/1.477, allocations: 176.3 kB / 1.581 GB, free: 6.992 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/1.478, allocations: 311.2 kB / 1.581 GB, free: 6.668 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.265e-05/1.478, allocations: 194 kB / 1.581 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/1.478, allocations: 180.2 kB / 1.582 GB, free: 6.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/1.478, allocations: 109 kB / 1.582 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/1.478, allocations: 180.1 kB / 1.582 GB, free: 5.977 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/1.478, allocations: 112.9 kB / 1.582 GB, free: 5.859 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.334e-05/1.478, allocations: 79.28 kB / 1.582 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.478, allocations: 0 / 1.582 GB, free: 5.781 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002934/1.478, allocations: 35.48 kB / 1.582 GB, free: 5.75 MB / 0.9167 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.0005345/1.479, allocations: 0.8776 MB / 1.583 GB, free: 4.852 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 7.184e-05/1.479, allocations: 11.88 kB / 1.583 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.479, allocations: 0 / 1.583 GB, free: 4.84 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-06/1.479, allocations: 4.109 kB / 1.583 GB, free: 4.836 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/1.479, allocations: 0.5267 MB / 1.583 GB, free: 4.309 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/1.48, allocations: 233.7 kB / 1.584 GB, free: 4.039 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/1.48, allocations: 0.677 MB / 1.584 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.991e-05/1.48, allocations: 13.97 kB / 1.584 GB, free: 3.324 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/1.48, allocations: 11.42 kB / 1.584 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/1.48, allocations: 0 / 1.584 GB, free: 3.316 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/1.496, allocations: 1.867 MB / 1.586 GB, free: 1.664 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/1.496, allocations: 236.4 kB / 1.586 GB, free: 1.422 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/3.079, allocations: 6.516 kB / 1.586 GB, free: 1.418 MB / 0.9167 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