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.19/2.19, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.0009834/0.0009834, allocations: 177.2 kB / 498.1 MB, free: 5.738 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.555/1.555, allocations: 223.2 MB / 0.7948 GB, free: 17.86 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.0008943/0.0008943, allocations: 99.5 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 14.28 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2819, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.299, allocations: 389.1 MB / 1.603 GB, free: 6.516 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002077/1.3, allocations: 77.28 kB / 1.603 GB, free: 6.477 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02547/1.325, allocations: 13.32 MB / 1.616 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.994e-06/1.325, allocations: 0 / 1.616 GB, free: 11.97 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.402e-06/1.325, allocations: 0 / 1.616 GB, free: 11.97 MB / 0.9323 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.0003556/1.325, allocations: 339.4 kB / 1.616 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/1.325, allocations: 8.031 kB / 1.616 GB, free: 11.58 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.281e-05/1.326, allocations: 34.12 kB / 1.616 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/1.326, allocations: 8.578 kB / 1.616 GB, free: 11.54 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/1.326, allocations: 163 kB / 1.617 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/1.326, allocations: 25.7 kB / 1.617 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/1.326, allocations: 4 kB / 1.617 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/1.326, allocations: 49.36 kB / 1.617 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.326, allocations: 0 / 1.617 GB, free: 11.25 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.326, allocations: 7.984 kB / 1.617 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/1.326, allocations: 3.938 kB / 1.617 GB, free: 11.24 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.358e-05/1.326, allocations: 15.83 kB / 1.617 GB, free: 11.23 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/1.327, allocations: 329 kB / 1.617 GB, free: 10.84 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.78e-05/1.327, allocations: 18.58 kB / 1.617 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.806e-05/1.327, allocations: 85.16 kB / 1.617 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/1.327, allocations: 38.5 kB / 1.617 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/1.327, allocations: 0 / 1.617 GB, free: 10.67 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001438/1.327, allocations: 41.59 kB / 1.617 GB, free: 10.62 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/1.327, allocations: 51.41 kB / 1.617 GB, free: 10.56 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.046e-05/1.327, allocations: 96.97 kB / 1.617 GB, free: 10.46 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/1.327, allocations: 33.64 kB / 1.617 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/1.327, allocations: 87.92 kB / 1.617 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-06/1.327, allocations: 128 / 1.617 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/1.327, allocations: 4 kB / 1.617 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.327, allocations: 314.8 kB / 1.618 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/1.327, allocations: 4 kB / 1.618 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/1.327, allocations: 20.72 kB / 1.618 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.903e-05/1.327, allocations: 4 kB / 1.618 GB, free: 9.984 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/1.327, allocations: 0 / 1.618 GB, free: 9.984 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.573e-05/1.327, allocations: 53.34 kB / 1.618 GB, free: 9.93 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.327, allocations: 8 kB / 1.618 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/1.327, allocations: 0 / 1.618 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.327, allocations: 0 / 1.618 GB, free: 9.922 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/1.327, allocations: 15.88 kB / 1.618 GB, free: 9.906 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/1.328, allocations: 0 / 1.618 GB, free: 9.906 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.937e-05/1.328, allocations: 4 kB / 1.618 GB, free: 9.902 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/1.328, allocations: 0 / 1.618 GB, free: 9.902 MB / 0.9323 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.023e-05/1.328, allocations: 113.5 kB / 1.618 GB, free: 9.785 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/1.328, allocations: 4.062 kB / 1.618 GB, free: 9.781 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/1.328, allocations: 120.9 kB / 1.618 GB, free: 9.656 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.046e-05/1.328, allocations: 184.1 kB / 1.618 GB, free: 9.473 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.05e-05/1.328, allocations: 180.2 kB / 1.618 GB, free: 9.289 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.534e-05/1.328, allocations: 188.2 kB / 1.619 GB, free: 9.098 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/1.328, allocations: 404.8 kB / 1.619 GB, free: 8.648 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.281e-05/1.328, allocations: 101 kB / 1.619 GB, free: 8.543 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/1.328, allocations: 108.9 kB / 1.619 GB, free: 8.43 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.786e-05/1.328, allocations: 180.2 kB / 1.619 GB, free: 8.246 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.329e-05/1.328, allocations: 180.2 kB / 1.619 GB, free: 8.062 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-05/1.329, allocations: 176.3 kB / 1.62 GB, free: 7.883 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001093/1.329, allocations: 187.5 kB / 1.62 GB, free: 7.695 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/1.329, allocations: 315.5 kB / 1.62 GB, free: 7.367 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/1.329, allocations: 185.9 kB / 1.62 GB, free: 7.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/1.329, allocations: 184.2 kB / 1.62 GB, free: 6.973 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/1.329, allocations: 113 kB / 1.621 GB, free: 6.855 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/1.329, allocations: 180.2 kB / 1.621 GB, free: 6.672 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/1.329, allocations: 104.9 kB / 1.621 GB, free: 6.566 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 5.274e-05/1.329, allocations: 87.2 kB / 1.621 GB, free: 6.48 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/1.329, allocations: 0 / 1.621 GB, free: 6.48 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002366/1.329, allocations: 19.89 kB / 1.621 GB, free: 6.461 MB / 0.9323 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.0004921/1.33, allocations: 0.8546 MB / 1.622 GB, free: 5.59 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 6.671e-05/1.33, allocations: 4 kB / 1.622 GB, free: 5.586 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/1.33, allocations: 4 kB / 1.622 GB, free: 5.582 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.935e-06/1.33, allocations: 3.938 kB / 1.622 GB, free: 5.578 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/1.33, allocations: 0.5188 MB / 1.622 GB, free: 5.059 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/1.331, allocations: 229.6 kB / 1.623 GB, free: 4.789 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/1.331, allocations: 0.6731 MB / 1.623 GB, free: 4.09 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 4.701e-05/1.331, allocations: 7.984 kB / 1.623 GB, free: 4.082 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/1.331, allocations: 11.06 kB / 1.623 GB, free: 4.074 MB / 0.9323 GB Notification: Performance of SimCode: time 4.11e-07/1.331, allocations: 4 kB / 1.623 GB, free: 4.07 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01348/1.345, allocations: 1.586 MB / 1.625 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.345, allocations: 192.8 kB / 1.625 GB, free: 2.367 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.438/2.783, allocations: 0 / 1.625 GB, free: 2.367 MB / 0.9323 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