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.172/2.172, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.001134/0.001134, allocations: 188.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.0008806/0.0008806, allocations: 99.88 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.002e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.2991, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.163/1.462, allocations: 353.6 MB / 1.564 GB, free: 15.59 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/1.462, allocations: 75.39 kB / 1.564 GB, free: 15.55 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 0.02009/1.482, allocations: 9.141 MB / 1.573 GB, free: 7.734 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.413e-06/1.482, allocations: 0 / 1.573 GB, free: 7.734 MB / 1.026 GB Notification: Performance of Transformations before backend: time 6.382e-06/1.482, allocations: 0 / 1.573 GB, free: 7.734 MB / 1.026 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.0003588/1.483, allocations: 350.4 kB / 1.573 GB, free: 7.348 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.483, allocations: 12.03 kB / 1.573 GB, free: 7.336 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/1.483, allocations: 30.56 kB / 1.574 GB, free: 7.297 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/1.483, allocations: 7.938 kB / 1.574 GB, free: 7.289 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/1.483, allocations: 163.1 kB / 1.574 GB, free: 7.09 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/1.483, allocations: 33.7 kB / 1.574 GB, free: 7.051 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/1.483, allocations: 0 / 1.574 GB, free: 7.051 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/1.483, allocations: 41.69 kB / 1.574 GB, free: 7.004 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/1.483, allocations: 0 / 1.574 GB, free: 7.004 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/1.483, allocations: 4 kB / 1.574 GB, free: 7 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/1.483, allocations: 0 / 1.574 GB, free: 7 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/1.483, allocations: 19.92 kB / 1.574 GB, free: 6.98 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006554/1.484, allocations: 0.5957 MB / 1.574 GB, free: 6.262 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 4.132e-05/1.484, allocations: 22.58 kB / 1.574 GB, free: 6.23 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.605e-05/1.484, allocations: 8.922 kB / 1.574 GB, free: 6.219 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/1.484, allocations: 356.4 kB / 1.575 GB, free: 5.797 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/1.484, allocations: 34.56 kB / 1.575 GB, free: 5.754 MB / 1.026 GB Notification: Performance of pre-optimization done (n=1): time 2.445e-06/1.484, allocations: 0 / 1.575 GB, free: 5.754 MB / 1.026 GB Notification: Performance of matching and sorting (n=1): time 0.000129/1.484, allocations: 45.58 kB / 1.575 GB, free: 5.703 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/1.484, allocations: 55.44 kB / 1.575 GB, free: 5.637 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.6e-05/1.484, allocations: 89 kB / 1.575 GB, free: 5.543 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/1.484, allocations: 29.7 kB / 1.575 GB, free: 5.508 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 4.856e-05/1.485, allocations: 91.98 kB / 1.575 GB, free: 5.414 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 6.281e-06/1.485, allocations: 0 / 1.575 GB, free: 5.414 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/1.485, allocations: 3.938 kB / 1.575 GB, free: 5.41 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/1.485, allocations: 318.8 kB / 1.575 GB, free: 5.09 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.527e-05/1.485, allocations: 8 kB / 1.575 GB, free: 5.082 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.25e-05/1.485, allocations: 17.72 kB / 1.575 GB, free: 5.059 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.847e-05/1.485, allocations: 4 kB / 1.575 GB, free: 5.055 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/1.485, allocations: 0 / 1.575 GB, free: 5.055 MB / 1.026 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.535e-05/1.485, allocations: 49.62 kB / 1.575 GB, free: 5 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.485, allocations: 8 kB / 1.575 GB, free: 4.992 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/1.485, allocations: 0 / 1.575 GB, free: 4.992 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.485, allocations: 0 / 1.575 GB, free: 4.992 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/1.485, allocations: 12.05 kB / 1.575 GB, free: 4.98 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.485, allocations: 3.953 kB / 1.575 GB, free: 4.977 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.201e-05/1.485, allocations: 7.906 kB / 1.575 GB, free: 4.969 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-06/1.485, allocations: 3.938 kB / 1.575 GB, free: 4.965 MB / 1.026 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.252e-05/1.485, allocations: 101.7 kB / 1.576 GB, free: 4.859 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/1.485, allocations: 4 kB / 1.576 GB, free: 4.855 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/1.485, allocations: 117 kB / 1.576 GB, free: 4.734 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-05/1.485, allocations: 188.2 kB / 1.576 GB, free: 4.543 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-05/1.485, allocations: 176.3 kB / 1.576 GB, free: 4.363 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-05/1.485, allocations: 180.2 kB / 1.576 GB, free: 4.18 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/1.486, allocations: 409.2 kB / 1.577 GB, free: 3.723 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.278e-05/1.486, allocations: 101.3 kB / 1.577 GB, free: 3.617 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/1.486, allocations: 112.9 kB / 1.577 GB, free: 3.5 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.103e-05/1.486, allocations: 180.2 kB / 1.577 GB, free: 3.316 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/1.486, allocations: 180.3 kB / 1.577 GB, free: 3.133 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.191e-05/1.486, allocations: 180.2 kB / 1.577 GB, free: 2.949 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.486e-05/1.486, allocations: 184.4 kB / 1.577 GB, free: 2.762 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/1.486, allocations: 319.7 kB / 1.578 GB, free: 2.426 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/1.486, allocations: 178.1 kB / 1.578 GB, free: 2.227 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/1.486, allocations: 180.2 kB / 1.578 GB, free: 2.043 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/1.486, allocations: 109 kB / 1.578 GB, free: 1.93 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/1.486, allocations: 184.2 kB / 1.578 GB, free: 1.742 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.133e-05/1.486, allocations: 113 kB / 1.579 GB, free: 1.625 MB / 1.026 GB Notification: Performance of sorting global known variables: time 3.923e-05/1.486, allocations: 79.28 kB / 1.579 GB, free: 1.547 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.41e-07/1.486, allocations: 0 / 1.579 GB, free: 1.547 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0002691/1.487, allocations: 39.92 kB / 1.579 GB, free: 1.508 MB / 1.026 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.0004679/1.487, allocations: 0.8739 MB / 1.579 GB, free: 0.6055 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 6.444e-05/1.487, allocations: 4 kB / 1.579 GB, free: 0.6016 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.487, allocations: 4 kB / 1.579 GB, free: 0.5977 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 2.775e-06/1.487, allocations: 4.125 kB / 1.579 GB, free: 0.5938 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/1.488, allocations: 0.5273 MB / 1.58 GB, free: 64 kB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/1.488, allocations: 169.9 kB / 1.58 GB, free: 15.86 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/1.488, allocations: 0.6809 MB / 1.581 GB, free: 15.15 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.355e-05/1.488, allocations: 9.828 kB / 1.581 GB, free: 15.14 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/1.488, allocations: 7.438 kB / 1.581 GB, free: 15.14 MB / 1.042 GB Notification: Performance of SimCode: time 2.6e-07/1.488, allocations: 0 / 1.581 GB, free: 15.14 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01238/1.501, allocations: 1.885 MB / 1.583 GB, free: 13.47 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/1.501, allocations: 210.2 kB / 1.583 GB, free: 13.25 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/3.207, allocations: 8.016 kB / 1.583 GB, free: 13.24 MB / 1.042 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