Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.167/2.167, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001484/0.001484, allocations: 192.7 kB / 487.4 MB, free: 5.035 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.643/1.643, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 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.0008801/0.0008801, allocations: 90.09 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.78e-05/1.777e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3055, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.266/1.572, allocations: 388.4 MB / 1.585 GB, free: 1.434 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/1.572, allocations: 72.84 kB / 1.585 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02807/1.6, allocations: 13.22 MB / 1.598 GB, free: 7.098 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.205e-06/1.6, allocations: 0 / 1.598 GB, free: 7.098 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.967e-06/1.6, allocations: 7.312 kB / 1.598 GB, free: 7.094 MB / 1.01 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.0003661/1.601, allocations: 326.5 kB / 1.599 GB, free: 6.73 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.601, allocations: 12.03 kB / 1.599 GB, free: 6.719 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/1.601, allocations: 0 / 1.599 GB, free: 6.719 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/1.601, allocations: 171.2 kB / 1.599 GB, free: 6.516 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.892e-05/1.601, allocations: 25.7 kB / 1.599 GB, free: 6.484 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.486e-06/1.601, allocations: 3.938 kB / 1.599 GB, free: 6.48 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.292e-05/1.601, allocations: 15.92 kB / 1.599 GB, free: 6.465 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/1.601, allocations: 45.06 kB / 1.599 GB, free: 6.418 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.601, allocations: 0 / 1.599 GB, free: 6.418 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/1.601, allocations: 0 / 1.599 GB, free: 6.418 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/1.601, allocations: 0 / 1.599 GB, free: 6.418 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/1.602, allocations: 321.2 kB / 1.599 GB, free: 6.055 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 3.601e-05/1.602, allocations: 14.58 kB / 1.599 GB, free: 6.031 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/1.602, allocations: 4.859 kB / 1.599 GB, free: 6.023 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/1.602, allocations: 89.17 kB / 1.599 GB, free: 5.918 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/1.602, allocations: 34.5 kB / 1.599 GB, free: 5.875 MB / 1.01 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/1.602, allocations: 0 / 1.599 GB, free: 5.875 MB / 1.01 GB Notification: Performance of matching and sorting (n=1): time 0.0001945/1.602, allocations: 37.25 kB / 1.599 GB, free: 5.836 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/1.602, allocations: 55.41 kB / 1.599 GB, free: 5.77 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/1.602, allocations: 89 kB / 1.6 GB, free: 5.676 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/1.602, allocations: 25.7 kB / 1.6 GB, free: 5.645 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/1.602, allocations: 91.58 kB / 1.6 GB, free: 5.555 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-06/1.602, allocations: 4 kB / 1.6 GB, free: 5.551 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-06/1.602, allocations: 0 / 1.6 GB, free: 5.551 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001081/1.603, allocations: 318.8 kB / 1.6 GB, free: 5.23 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.169e-05/1.603, allocations: 3.125 kB / 1.6 GB, free: 5.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.015e-05/1.603, allocations: 13.72 kB / 1.6 GB, free: 5.211 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.725e-05/1.603, allocations: 11.98 kB / 1.6 GB, free: 5.199 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/1.603, allocations: 4 kB / 1.6 GB, free: 5.195 MB / 1.01 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.417e-05/1.603, allocations: 48.88 kB / 1.6 GB, free: 5.145 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/1.603, allocations: 7.938 kB / 1.6 GB, free: 5.137 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.603, allocations: 4 kB / 1.6 GB, free: 5.133 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/1.603, allocations: 0 / 1.6 GB, free: 5.133 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/1.603, allocations: 4 kB / 1.6 GB, free: 5.129 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/1.603, allocations: 0 / 1.6 GB, free: 5.129 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/1.603, allocations: 7.906 kB / 1.6 GB, free: 5.121 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/1.603, allocations: 3.984 kB / 1.6 GB, free: 5.117 MB / 1.01 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.999e-05/1.603, allocations: 114 kB / 1.6 GB, free: 5 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.527e-05/1.603, allocations: 37.69 kB / 1.6 GB, free: 4.957 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/1.603, allocations: 0 / 1.6 GB, free: 4.957 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/1.603, allocations: 116.7 kB / 1.6 GB, free: 4.84 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-05/1.603, allocations: 184.5 kB / 1.6 GB, free: 4.652 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.546e-05/1.603, allocations: 180.3 kB / 1.601 GB, free: 4.469 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.51e-05/1.604, allocations: 184.2 kB / 1.601 GB, free: 4.281 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/1.604, allocations: 392.6 kB / 1.601 GB, free: 3.855 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.67e-05/1.604, allocations: 105 kB / 1.601 GB, free: 3.746 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/1.604, allocations: 101 kB / 1.601 GB, free: 3.641 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-05/1.604, allocations: 184.1 kB / 1.602 GB, free: 3.453 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/1.604, allocations: 187.6 kB / 1.602 GB, free: 3.266 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-05/1.604, allocations: 180.3 kB / 1.602 GB, free: 3.082 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.941e-05/1.604, allocations: 180.2 kB / 1.602 GB, free: 2.898 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/1.604, allocations: 307 kB / 1.602 GB, free: 2.578 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.559e-05/1.604, allocations: 189.9 kB / 1.603 GB, free: 2.367 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-05/1.604, allocations: 184.3 kB / 1.603 GB, free: 2.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/1.605, allocations: 109 kB / 1.603 GB, free: 2.066 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/1.605, allocations: 180.2 kB / 1.603 GB, free: 1.883 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.618e-05/1.605, allocations: 101 kB / 1.603 GB, free: 1.777 MB / 1.01 GB Notification: Performance of sorting global known variables: time 4.543e-05/1.605, allocations: 82.72 kB / 1.603 GB, free: 1.699 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.51e-07/1.605, allocations: 0 / 1.603 GB, free: 1.699 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000242/1.605, allocations: 19.94 kB / 1.603 GB, free: 1.68 MB / 1.01 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.0005021/1.606, allocations: 0.8439 MB / 1.604 GB, free: 0.8086 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 6.468e-05/1.606, allocations: 11.06 kB / 1.604 GB, free: 0.8008 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.606, allocations: 0 / 1.604 GB, free: 0.8008 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/1.606, allocations: 0 / 1.604 GB, free: 0.8008 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/1.606, allocations: 0.5253 MB / 1.605 GB, free: 280 kB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/1.606, allocations: 160.9 kB / 1.605 GB, free: 80 kB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/1.607, allocations: 0.6806 MB / 1.605 GB, free: 15.37 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 4.212e-05/1.607, allocations: 4 kB / 1.605 GB, free: 15.37 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/1.607, allocations: 7.438 kB / 1.605 GB, free: 15.36 MB / 1.026 GB Notification: Performance of SimCode: time 2.6e-07/1.607, allocations: 8 kB / 1.605 GB, free: 15.36 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/1.627, allocations: 1.131 MB / 1.606 GB, free: 14.24 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/1.627, allocations: 148 kB / 1.607 GB, free: 14.05 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/3.145, allocations: 0.5 kB / 1.607 GB, free: 14.05 MB / 1.026 GB (rm -f Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat