Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.309/2.309, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001077/0.001077, allocations: 183.6 kB / 0.4901 GB, free: 2.242 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.438/1.438, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.001049/0.001048, allocations: 102 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 10.33 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3358, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.521, allocations: 353.6 MB / 1.575 GB, free: 26.18 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/1.522, allocations: 83.58 kB / 1.575 GB, free: 26.14 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.0192/1.541, allocations: 9.166 MB / 1.584 GB, free: 18.72 MB / 0.9167 GB Notification: Performance of FrontEnd: time 6.252e-06/1.541, allocations: 0 / 1.584 GB, free: 18.72 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.977e-06/1.541, allocations: 7.938 kB / 1.584 GB, free: 18.71 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.0005133/1.542, allocations: 351.3 kB / 1.584 GB, free: 18.33 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/1.542, allocations: 8.562 kB / 1.584 GB, free: 18.32 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.483e-05/1.542, allocations: 38.48 kB / 1.584 GB, free: 18.27 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/1.542, allocations: 7.953 kB / 1.584 GB, free: 18.27 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/1.542, allocations: 159.1 kB / 1.584 GB, free: 18.07 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/1.542, allocations: 25.7 kB / 1.584 GB, free: 18.04 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/1.542, allocations: 4 kB / 1.584 GB, free: 18.04 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/1.542, allocations: 48.48 kB / 1.584 GB, free: 17.98 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.542, allocations: 0 / 1.584 GB, free: 17.98 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/1.542, allocations: 0 / 1.584 GB, free: 17.98 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/1.542, allocations: 0 / 1.584 GB, free: 17.98 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.937e-05/1.542, allocations: 15.8 kB / 1.584 GB, free: 17.97 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/1.543, allocations: 0.5898 MB / 1.585 GB, free: 17.27 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.232e-05/1.543, allocations: 18.58 kB / 1.585 GB, free: 17.25 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002188/1.543, allocations: 352.1 kB / 1.585 GB, free: 16.84 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/1.543, allocations: 34.56 kB / 1.585 GB, free: 16.79 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/1.543, allocations: 0 / 1.585 GB, free: 16.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001852/1.544, allocations: 41.34 kB / 1.585 GB, free: 16.75 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/1.544, allocations: 51.41 kB / 1.585 GB, free: 16.69 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/1.544, allocations: 96.98 kB / 1.585 GB, free: 16.59 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/1.544, allocations: 25.83 kB / 1.585 GB, free: 16.55 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.737e-05/1.544, allocations: 94.92 kB / 1.586 GB, free: 16.46 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/1.544, allocations: 3.984 kB / 1.586 GB, free: 16.46 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/1.544, allocations: 0 / 1.586 GB, free: 16.46 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.891e-05/1.544, allocations: 314.8 kB / 1.586 GB, free: 16.14 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/1.544, allocations: 11.42 kB / 1.586 GB, free: 16.13 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.176e-05/1.544, allocations: 13.72 kB / 1.586 GB, free: 16.11 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.207e-05/1.544, allocations: 8 kB / 1.586 GB, free: 16.11 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.544, allocations: 0 / 1.586 GB, free: 16.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.697e-05/1.544, allocations: 49.19 kB / 1.586 GB, free: 16.05 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/1.544, allocations: 8 kB / 1.586 GB, free: 16.05 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.544, allocations: 0 / 1.586 GB, free: 16.05 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.544, allocations: 0 / 1.586 GB, free: 16.05 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.638e-05/1.544, allocations: 4 kB / 1.586 GB, free: 16.04 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/1.544, allocations: 7.953 kB / 1.586 GB, free: 16.04 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/1.544, allocations: 7.344 kB / 1.586 GB, free: 16.03 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/1.544, allocations: 7.984 kB / 1.586 GB, free: 16.02 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 7.96e-05/1.544, allocations: 113.9 kB / 1.586 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/1.544, allocations: 0 / 1.586 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/1.545, allocations: 120.4 kB / 1.586 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.25e-05/1.545, allocations: 180.2 kB / 1.586 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-05/1.545, allocations: 180.2 kB / 1.587 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.063e-05/1.545, allocations: 188.2 kB / 1.587 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/1.545, allocations: 408.7 kB / 1.587 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.039e-05/1.545, allocations: 101 kB / 1.587 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.353e-05/1.545, allocations: 101.3 kB / 1.587 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.455e-05/1.545, allocations: 180.2 kB / 1.587 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/1.545, allocations: 183.8 kB / 1.588 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.349e-05/1.545, allocations: 192.2 kB / 1.588 GB, free: 14 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.088e-05/1.545, allocations: 176.3 kB / 1.588 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001349/1.545, allocations: 319.2 kB / 1.588 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/1.545, allocations: 178.1 kB / 1.588 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/1.546, allocations: 188.2 kB / 1.589 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/1.546, allocations: 112.7 kB / 1.589 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/1.546, allocations: 176.3 kB / 1.589 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/1.546, allocations: 104.9 kB / 1.589 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.596e-05/1.546, allocations: 82.91 kB / 1.589 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.61e-07/1.546, allocations: 4 kB / 1.589 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003198/1.546, allocations: 35.92 kB / 1.589 GB, free: 12.57 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.0005903/1.547, allocations: 0.8625 MB / 1.59 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.801e-05/1.547, allocations: 19.42 kB / 1.59 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.547, allocations: 0 / 1.59 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/1.547, allocations: 0 / 1.59 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/1.547, allocations: 0.5226 MB / 1.59 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004791/1.548, allocations: 241.6 kB / 1.591 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/1.548, allocations: 0.677 MB / 1.591 GB, free: 10.17 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.347e-05/1.548, allocations: 11.36 kB / 1.591 GB, free: 10.16 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/1.548, allocations: 15.44 kB / 1.591 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of SimCode: time 2.31e-07/1.548, allocations: 0 / 1.591 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/1.563, allocations: 1.876 MB / 1.593 GB, free: 8.496 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/1.563, allocations: 245 kB / 1.593 GB, free: 8.246 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/3.196, allocations: 0 / 1.593 GB, free: 8.246 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat