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.387/2.387, allocations: 390.5 MB / 398 MB, free: 10.95 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.001593/0.001593, allocations: 183.6 kB / 491.2 MB, free: 1.582 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.786/1.786, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001174/0.001174, allocations: 86.66 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.026e-05/2.022e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3893, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.434/1.823, allocations: 352.9 MB / 1.557 GB, free: 12.17 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/1.823, allocations: 75.42 kB / 1.557 GB, free: 12.13 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.02161/1.845, allocations: 9.094 MB / 1.566 GB, free: 4.859 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.104e-06/1.845, allocations: 0 / 1.566 GB, free: 4.859 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.067e-06/1.845, allocations: 0 / 1.566 GB, free: 4.859 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.0004433/1.846, allocations: 342.1 kB / 1.566 GB, free: 4.484 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/1.846, allocations: 8.031 kB / 1.566 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/1.846, allocations: 0 / 1.566 GB, free: 4.477 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/1.846, allocations: 171 kB / 1.566 GB, free: 4.27 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.092e-05/1.846, allocations: 29.7 kB / 1.567 GB, free: 4.234 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/1.846, allocations: 0 / 1.567 GB, free: 4.234 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.04e-05/1.846, allocations: 19.48 kB / 1.567 GB, free: 4.219 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.142e-05/1.846, allocations: 37.33 kB / 1.567 GB, free: 4.18 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/1.846, allocations: 0 / 1.567 GB, free: 4.18 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/1.846, allocations: 3.984 kB / 1.567 GB, free: 4.176 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.267e-05/1.846, allocations: 0 / 1.567 GB, free: 4.176 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007752/1.847, allocations: 0.5874 MB / 1.567 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 4.143e-05/1.847, allocations: 22.27 kB / 1.567 GB, free: 3.461 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.791e-05/1.847, allocations: 8.797 kB / 1.567 GB, free: 3.449 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/1.847, allocations: 359.8 kB / 1.568 GB, free: 3.031 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/1.848, allocations: 34.56 kB / 1.568 GB, free: 2.988 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/1.848, allocations: 0 / 1.568 GB, free: 2.988 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.0002944/1.848, allocations: 41.69 kB / 1.568 GB, free: 2.941 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/1.848, allocations: 51.41 kB / 1.568 GB, free: 2.879 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.626e-05/1.848, allocations: 97.62 kB / 1.568 GB, free: 2.781 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/1.848, allocations: 25.7 kB / 1.568 GB, free: 2.75 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/1.848, allocations: 87.98 kB / 1.568 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-06/1.848, allocations: 0 / 1.568 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.418e-06/1.848, allocations: 0 / 1.568 GB, free: 2.66 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.848, allocations: 330.5 kB / 1.568 GB, free: 2.332 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/1.848, allocations: 0 / 1.568 GB, free: 2.332 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/1.848, allocations: 17.94 kB / 1.568 GB, free: 2.309 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/1.848, allocations: 23.48 kB / 1.568 GB, free: 2.289 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.848, allocations: 0 / 1.568 GB, free: 2.289 MB / 0.9792 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000166/1.849, allocations: 61.61 kB / 1.568 GB, free: 2.223 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/1.849, allocations: 4 kB / 1.568 GB, free: 2.219 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.849, allocations: 96 / 1.568 GB, free: 2.219 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/1.849, allocations: 12.05 kB / 1.568 GB, free: 2.207 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.458e-05/1.849, allocations: 7.984 kB / 1.568 GB, free: 2.199 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/1.849, allocations: 0 / 1.568 GB, free: 2.199 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.5e-05/1.849, allocations: 3.906 kB / 1.568 GB, free: 2.195 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/1.849, allocations: 11.56 kB / 1.568 GB, free: 2.188 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.853e-05/1.849, allocations: 104.9 kB / 1.568 GB, free: 2.078 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001234/1.849, allocations: 41.69 kB / 1.568 GB, free: 2.031 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/1.849, allocations: 0 / 1.568 GB, free: 2.031 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001321/1.849, allocations: 119.2 kB / 1.569 GB, free: 1.906 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.243e-05/1.849, allocations: 187.9 kB / 1.569 GB, free: 1.719 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-05/1.849, allocations: 184.3 kB / 1.569 GB, free: 1.531 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-05/1.849, allocations: 180.2 kB / 1.569 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/1.85, allocations: 381.7 kB / 1.569 GB, free: 0.9297 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.45e-05/1.85, allocations: 112.5 kB / 1.57 GB, free: 0.8164 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/1.85, allocations: 101 kB / 1.57 GB, free: 0.7109 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.1e-05/1.85, allocations: 180.2 kB / 1.57 GB, free: 0.5273 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-05/1.85, allocations: 184.3 kB / 1.57 GB, free: 348 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.362e-05/1.85, allocations: 180.3 kB / 1.57 GB, free: 160 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.395e-05/1.85, allocations: 180.2 kB / 1.57 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/1.85, allocations: 311.4 kB / 1.571 GB, free: 15.65 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.74e-05/1.85, allocations: 186 kB / 1.571 GB, free: 15.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/1.85, allocations: 180.3 kB / 1.571 GB, free: 15.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/1.851, allocations: 105 kB / 1.571 GB, free: 15.15 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/1.851, allocations: 188.2 kB / 1.571 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.117e-05/1.851, allocations: 104.7 kB / 1.571 GB, free: 14.85 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.802e-05/1.851, allocations: 79.28 kB / 1.571 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.4e-07/1.851, allocations: 0 / 1.571 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002725/1.851, allocations: 39.48 kB / 1.571 GB, free: 14.74 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.0005653/1.852, allocations: 0.8676 MB / 1.572 GB, free: 13.85 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 7.045e-05/1.852, allocations: 8 kB / 1.572 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.852, allocations: 0 / 1.572 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/1.852, allocations: 0 / 1.572 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/1.852, allocations: 0.5279 MB / 1.573 GB, free: 13.31 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/1.852, allocations: 168.9 kB / 1.573 GB, free: 13.11 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/1.853, allocations: 0.6808 MB / 1.574 GB, free: 12.4 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 4.676e-05/1.853, allocations: 6.25 kB / 1.574 GB, free: 12.4 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/1.853, allocations: 20.41 kB / 1.574 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of SimCode: time 2.4e-07/1.853, allocations: 0 / 1.574 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/1.875, allocations: 1.491 MB / 1.575 GB, free: 10.94 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002509/1.876, allocations: 199.4 kB / 1.575 GB, free: 10.68 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/3.466, allocations: 0 / 1.575 GB, free: 10.68 MB / 0.9948 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