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.292/2.292, allocations: 387.4 MB / 394.8 MB, free: 13.39 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.001163/0.001163, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.413/1.413, allocations: 221.5 MB / 0.7824 GB, free: 1.027 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009259/0.0009258, allocations: 97.14 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.937e-05/1.94e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2478, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.319, allocations: 352.1 MB / 1.55 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.32, allocations: 78.45 kB / 1.55 GB, free: 4.594 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 0.02059/1.34, allocations: 9.104 MB / 1.559 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.753e-06/1.34, allocations: 0 / 1.559 GB, free: 13.32 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.544e-06/1.34, allocations: 0 / 1.559 GB, free: 13.32 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.000372/1.341, allocations: 343 kB / 1.559 GB, free: 12.95 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/1.341, allocations: 15.97 kB / 1.559 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/1.341, allocations: 4 kB / 1.559 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/1.341, allocations: 163.8 kB / 1.559 GB, free: 12.73 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.67e-05/1.341, allocations: 25.7 kB / 1.559 GB, free: 12.7 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/1.341, allocations: 7.938 kB / 1.559 GB, free: 12.69 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.663e-05/1.341, allocations: 11.98 kB / 1.559 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.503e-05/1.341, allocations: 37.44 kB / 1.559 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/1.341, allocations: 0 / 1.559 GB, free: 12.64 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/1.341, allocations: 4 kB / 1.559 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/1.341, allocations: 4 kB / 1.559 GB, free: 12.63 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/1.342, allocations: 0.581 MB / 1.56 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 3.53e-05/1.342, allocations: 18.52 kB / 1.56 GB, free: 11.92 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.874e-05/1.342, allocations: 4.859 kB / 1.56 GB, free: 11.91 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002666/1.342, allocations: 367.4 kB / 1.56 GB, free: 11.49 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/1.342, allocations: 38 kB / 1.56 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/1.342, allocations: 0 / 1.56 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0002317/1.342, allocations: 41.69 kB / 1.56 GB, free: 11.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/1.343, allocations: 51.41 kB / 1.561 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/1.343, allocations: 95.67 kB / 1.561 GB, free: 11.24 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/1.343, allocations: 25.7 kB / 1.561 GB, free: 11.21 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/1.343, allocations: 87.98 kB / 1.561 GB, free: 11.12 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/1.343, allocations: 10.84 kB / 1.561 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/1.343, allocations: 0 / 1.561 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.863e-05/1.343, allocations: 314.8 kB / 1.561 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.16e-05/1.343, allocations: 4 kB / 1.561 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/1.343, allocations: 16.72 kB / 1.561 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/1.343, allocations: 23.97 kB / 1.561 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.343, allocations: 0 / 1.561 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001724/1.343, allocations: 59.92 kB / 1.561 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/1.343, allocations: 11.94 kB / 1.561 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/1.343, allocations: 4 kB / 1.561 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/1.343, allocations: 0 / 1.561 GB, free: 10.67 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.523e-05/1.343, allocations: 4 kB / 1.561 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/1.343, allocations: 3.938 kB / 1.561 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/1.343, allocations: 7.906 kB / 1.561 GB, free: 10.65 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/1.343, allocations: 3.188 kB / 1.561 GB, free: 10.65 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 7.264e-05/1.343, allocations: 109 kB / 1.561 GB, free: 10.54 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000118/1.344, allocations: 41.69 kB / 1.561 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/1.344, allocations: 4 kB / 1.561 GB, free: 10.49 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/1.344, allocations: 121 kB / 1.561 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.699e-05/1.344, allocations: 180.3 kB / 1.562 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-05/1.344, allocations: 176.3 kB / 1.562 GB, free: 9.996 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.843e-05/1.344, allocations: 188.2 kB / 1.562 GB, free: 9.805 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/1.344, allocations: 389.5 kB / 1.562 GB, free: 9.383 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.624e-05/1.344, allocations: 105 kB / 1.562 GB, free: 9.273 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.349e-05/1.344, allocations: 104.9 kB / 1.563 GB, free: 9.164 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.898e-05/1.344, allocations: 176.3 kB / 1.563 GB, free: 8.984 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/1.344, allocations: 188.4 kB / 1.563 GB, free: 8.793 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.117e-05/1.344, allocations: 180.2 kB / 1.563 GB, free: 8.609 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.469e-05/1.344, allocations: 180.2 kB / 1.563 GB, free: 8.426 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/1.345, allocations: 311.2 kB / 1.563 GB, free: 8.102 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.782e-05/1.345, allocations: 186 kB / 1.564 GB, free: 7.895 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.621e-05/1.345, allocations: 184.2 kB / 1.564 GB, free: 7.707 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/1.345, allocations: 108.9 kB / 1.564 GB, free: 7.594 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/1.345, allocations: 179.7 kB / 1.564 GB, free: 7.414 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/1.345, allocations: 101 kB / 1.564 GB, free: 7.309 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.966e-05/1.345, allocations: 83.27 kB / 1.564 GB, free: 7.227 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.51e-07/1.345, allocations: 0 / 1.564 GB, free: 7.227 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002567/1.345, allocations: 39.88 kB / 1.564 GB, free: 7.191 MB / 0.9792 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.0004854/1.346, allocations: 0.8694 MB / 1.565 GB, free: 6.301 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 5.965e-05/1.346, allocations: 7.312 kB / 1.565 GB, free: 6.297 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.346, allocations: 4 kB / 1.565 GB, free: 6.293 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/1.346, allocations: 0 / 1.565 GB, free: 6.293 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/1.346, allocations: 0.5235 MB / 1.566 GB, free: 5.766 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/1.347, allocations: 171.7 kB / 1.566 GB, free: 5.562 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/1.347, allocations: 0.6768 MB / 1.567 GB, free: 4.859 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.107e-05/1.347, allocations: 4 kB / 1.567 GB, free: 4.855 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/1.347, allocations: 7.438 kB / 1.567 GB, free: 4.848 MB / 0.9792 GB Notification: Performance of SimCode: time 2.8e-07/1.347, allocations: 4 kB / 1.567 GB, free: 4.844 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/1.368, allocations: 1.479 MB / 1.568 GB, free: 3.402 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003176/1.369, allocations: 205.6 kB / 1.568 GB, free: 3.199 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.43/2.798, allocations: 0 / 1.568 GB, free: 3.199 MB / 0.9792 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