Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7835/0.7835, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001093, allocations: 190.5 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 221.3 MB / 441.4 MB, free: 4.66 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009872/0.0009875, allocations: 97.3 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001845/0.001846, allocations: 276.3 kB / 0.5939 GB, free: 7.965 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.448e-05/4.465e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.461/0.4611, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7759/1.237, allocations: 313.6 MB / 1.071 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.237, allocations: 79.27 kB / 1.071 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.02326/1.261, allocations: 9.159 MB / 1.08 GB, free: 3.688 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.463e-06/1.261, allocations: 0 / 1.08 GB, free: 3.688 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.261, allocations: 0 / 1.08 GB, free: 3.688 MB / 0.6042 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.0004223/1.261, allocations: 349.8 kB / 1.08 GB, free: 3.305 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.261, allocations: 8.031 kB / 1.08 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.463e-05/1.261, allocations: 38 kB / 1.08 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/1.261, allocations: 0 / 1.08 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/1.262, allocations: 163 kB / 1.08 GB, free: 3.055 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.439e-05/1.262, allocations: 33.7 kB / 1.08 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.496e-06/1.262, allocations: 0 / 1.08 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/1.262, allocations: 45.12 kB / 1.08 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/1.262, allocations: 0 / 1.08 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/1.262, allocations: 0 / 1.08 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/1.262, allocations: 7.922 kB / 1.08 GB, free: 2.961 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.154e-05/1.262, allocations: 8 kB / 1.08 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/1.263, allocations: 0.61 MB / 1.081 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.185e-05/1.263, allocations: 18.52 kB / 1.081 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/1.263, allocations: 8.922 kB / 1.081 GB, free: 2.199 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003113/1.263, allocations: 359.5 kB / 1.081 GB, free: 1.781 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/1.263, allocations: 30.56 kB / 1.081 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/1.263, allocations: 0 / 1.081 GB, free: 1.742 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001421/1.263, allocations: 45.59 kB / 1.081 GB, free: 1.691 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/1.263, allocations: 51.41 kB / 1.081 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.221e-05/1.263, allocations: 92.25 kB / 1.081 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/1.263, allocations: 25.7 kB / 1.081 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/1.263, allocations: 99.91 kB / 1.082 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-06/1.263, allocations: 0 / 1.082 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/1.263, allocations: 0 / 1.082 GB, free: 1.406 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.264, allocations: 318.8 kB / 1.082 GB, free: 1.086 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.705e-05/1.264, allocations: 11.97 kB / 1.082 GB, free: 1.074 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/1.264, allocations: 17.59 kB / 1.082 GB, free: 1.055 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.837e-05/1.264, allocations: 4 kB / 1.082 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.264, allocations: 0 / 1.082 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.557e-05/1.264, allocations: 49.56 kB / 1.082 GB, free: 1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/1.264, allocations: 8 kB / 1.082 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/1.264, allocations: 0 / 1.082 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/1.264, allocations: 4.062 kB / 1.082 GB, free: 0.9883 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/1.264, allocations: 7.984 kB / 1.082 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.264, allocations: 0 / 1.082 GB, free: 0.9805 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/1.264, allocations: 4.281 kB / 1.082 GB, free: 0.9766 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/1.264, allocations: 0 / 1.082 GB, free: 0.9766 MB / 0.6042 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.122e-05/1.264, allocations: 104.9 kB / 1.082 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/1.264, allocations: 7.906 kB / 1.082 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/1.264, allocations: 130.2 kB / 1.082 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.395e-05/1.264, allocations: 180.3 kB / 1.082 GB, free: 0.5469 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.935e-05/1.264, allocations: 176.3 kB / 1.083 GB, free: 376 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.465e-05/1.264, allocations: 180.2 kB / 1.083 GB, free: 188 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/1.265, allocations: 409 kB / 1.083 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.459e-05/1.265, allocations: 104.9 kB / 1.083 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/1.265, allocations: 112.9 kB / 1.083 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.582e-05/1.265, allocations: 180.2 kB / 1.083 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.726e-05/1.265, allocations: 180.2 kB / 1.084 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-05/1.265, allocations: 176.3 kB / 1.084 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.99e-05/1.265, allocations: 188.2 kB / 1.084 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/1.265, allocations: 311.8 kB / 1.084 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/1.265, allocations: 189.7 kB / 1.084 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.652e-05/1.265, allocations: 176.3 kB / 1.085 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/1.266, allocations: 116.8 kB / 1.085 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.529e-05/1.266, allocations: 184.3 kB / 1.085 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/1.266, allocations: 102.2 kB / 1.085 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.274e-05/1.266, allocations: 87.2 kB / 1.085 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.184e-06/1.266, allocations: 0 / 1.085 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003116/1.266, allocations: 43.5 kB / 1.085 GB, free: 13.52 MB / 0.6198 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.0005901/1.267, allocations: 0.8581 MB / 1.086 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.718e-05/1.267, allocations: 15.92 kB / 1.086 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.267, allocations: 4.125 kB / 1.086 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/1.267, allocations: 0 / 1.086 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/1.267, allocations: 0.5201 MB / 1.087 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003344/1.268, allocations: 178.1 kB / 1.087 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/1.268, allocations: 0.677 MB / 1.087 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.638e-05/1.268, allocations: 10.03 kB / 1.087 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/1.268, allocations: 11.44 kB / 1.087 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of SimCode: time 2.845e-06/1.268, allocations: 0 / 1.087 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/1.282, allocations: 1.905 MB / 1.089 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002305/1.283, allocations: 214 kB / 1.089 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.831, allocations: 0 / 1.089 GB, free: 9.301 MB / 0.6198 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)