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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 196.4 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.246/1.246, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001941/0.001941, allocations: 279.2 kB / 290.2 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8949/0.8949, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001618, allocations: 95.25 kB / 0.5946 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1353, allocations: 86.97 MB / 0.6795 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004109/0.1394, allocations: 3.345 MB / 0.6828 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 7.475e-05/0.1395, allocations: 43.88 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.237e-05/0.1396, allocations: 4 kB / 0.6829 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.019e-05/0.1396, allocations: 3.984 kB / 0.6829 GB, free: 13.69 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.204e-05/0.1397, allocations: 11.92 kB / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004163/0.1401, allocations: 174.1 kB / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.631e-05/0.1402, allocations: 59.88 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.264e-05/0.1403, allocations: 0 / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.654e-05/0.1403, allocations: 23.86 kB / 0.6831 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.1404, allocations: 7.984 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1404, allocations: 4 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002955/0.1407, allocations: 171.5 kB / 0.6833 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.1407, allocations: 7.969 kB / 0.6833 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.1408, allocations: 15.94 kB / 0.6833 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.141, allocations: 128 kB / 0.6834 GB, free: 13.1 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.141, allocations: 3.984 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.141, allocations: 4 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.141, allocations: 0 / 0.6834 GB, free: 13.09 MB / 494.1 MB 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.0003416/0.1414, allocations: 343.5 kB / 0.6838 GB, free: 12.71 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1414, allocations: 15.97 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.1415, allocations: 34.75 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.1415, allocations: 0.9375 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.023e-05/0.1416, allocations: 172.3 kB / 0.684 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.1416, allocations: 26.27 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.1417, allocations: 8.125 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.1418, allocations: 41.69 kB / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.1418, allocations: 0 / 0.6841 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1418, allocations: 4 kB / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.1418, allocations: 0 / 0.6841 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.964e-05/0.1419, allocations: 15.92 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005349/0.1424, allocations: 0.591 MB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.065e-05/0.1424, allocations: 18.58 kB / 0.6847 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.1425, allocations: 12.92 kB / 0.6847 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.1427, allocations: 336.4 kB / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.1427, allocations: 34.56 kB / 0.685 GB, free: 11.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.1427, allocations: 0 / 0.685 GB, free: 11.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001233/0.1428, allocations: 45.61 kB / 0.6851 GB, free: 11.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/0.1429, allocations: 51.41 kB / 0.6851 GB, free: 11.02 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.1429, allocations: 106 kB / 0.6852 GB, free: 10.91 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.143, allocations: 29.7 kB / 0.6853 GB, free: 10.87 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.143, allocations: 87.98 kB / 0.6853 GB, free: 10.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-06/0.143, allocations: 3.906 kB / 0.6853 GB, free: 10.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.143, allocations: 21.66 kB / 0.6854 GB, free: 10.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.1431, allocations: 314.8 kB / 0.6857 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.1431, allocations: 11.98 kB / 0.6857 GB, free: 10.42 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.1432, allocations: 21.72 kB / 0.6857 GB, free: 10.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.985e-05/0.1432, allocations: 17.66 kB / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1432, allocations: 4 kB / 0.6857 GB, free: 10.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.803e-05/0.1433, allocations: 45.69 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.1433, allocations: 4 kB / 0.6858 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1433, allocations: 0 / 0.6858 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.1433, allocations: 4 kB / 0.6858 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.885e-05/0.1434, allocations: 15.98 kB / 0.6858 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1434, allocations: 0 / 0.6858 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.566e-05/0.1434, allocations: 0 / 0.6858 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1434, allocations: 4 kB / 0.6858 GB, free: 10.29 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.1435, allocations: 114.4 kB / 0.6859 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.1435, allocations: 4 kB / 0.6859 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.827e-05/0.1436, allocations: 115.2 kB / 0.686 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.867e-05/0.1437, allocations: 188.2 kB / 0.6862 GB, free: 9.852 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.974e-05/0.1437, allocations: 180.3 kB / 0.6864 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.554e-05/0.1438, allocations: 180.2 kB / 0.6865 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.144, allocations: 405.2 kB / 0.6869 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-05/0.144, allocations: 105 kB / 0.687 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.144, allocations: 108.9 kB / 0.6871 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.652e-05/0.1441, allocations: 184.3 kB / 0.6873 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.98e-05/0.1441, allocations: 180.2 kB / 0.6875 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.535e-05/0.1442, allocations: 176.4 kB / 0.6876 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-05/0.1442, allocations: 184.2 kB / 0.6878 GB, free: 8.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.1444, allocations: 315.7 kB / 0.6881 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.1444, allocations: 186 kB / 0.6883 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.346e-05/0.1445, allocations: 180.3 kB / 0.6885 GB, free: 7.348 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.1446, allocations: 112.9 kB / 0.6886 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.1447, allocations: 184.2 kB / 0.6887 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.1447, allocations: 105 kB / 0.6888 GB, free: 6.934 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.112e-05/0.1448, allocations: 91.27 kB / 0.6889 GB, free: 6.844 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1448, allocations: 0 / 0.6889 GB, free: 6.844 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.145, allocations: 43.88 kB / 0.689 GB, free: 6.801 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004855/0.1455, allocations: 0.8671 MB / 0.6898 GB, free: 5.902 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.206e-05/0.1456, allocations: 12 kB / 0.6898 GB, free: 5.891 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1456, allocations: 0 / 0.6898 GB, free: 5.891 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.575e-06/0.1456, allocations: 8.062 kB / 0.6898 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.1461, allocations: 0.5185 MB / 0.6904 GB, free: 5.359 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.1471, allocations: 1.334 MB / 0.6917 GB, free: 3.938 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.1473, allocations: 0.6731 MB / 0.6923 GB, free: 3.238 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.461e-05/0.1473, allocations: 10.48 kB / 0.6923 GB, free: 3.23 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.1474, allocations: 19.38 kB / 0.6923 GB, free: 3.215 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1474, allocations: 0 / 0.6923 GB, free: 3.215 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01091/0.1583, allocations: 2.024 MB / 0.6943 GB, free: 1.395 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.1585, allocations: 270.7 kB / 0.6946 GB, free: 1.039 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.822, allocations: 7.641 kB / 0.6946 GB, free: 1.039 MB / 494.1 MB (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/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)