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.000839/0.000839, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005086/0.005086, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.231/1.231, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001654/0.001654, allocations: 266.6 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8835/0.8835, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003628, allocations: 13.06 kB / 0.5988 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 88.54 MB / 0.6852 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003097/0.1315, allocations: 2.974 MB / 0.6881 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 7.866e-05/0.1316, allocations: 65.12 kB / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.288e-05/0.1316, allocations: 0 / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.888e-05/0.1317, allocations: 0 / 0.6882 GB, free: 11.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.865e-05/0.1318, allocations: 12.55 kB / 0.6882 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004058/0.1322, allocations: 171 kB / 0.6884 GB, free: 11.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.707e-05/0.1322, allocations: 55.88 kB / 0.6884 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.885e-05/0.1323, allocations: 4 kB / 0.6884 GB, free: 11.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.194e-05/0.1323, allocations: 12.48 kB / 0.6884 GB, free: 11.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.1324, allocations: 24.48 kB / 0.6885 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.1324, allocations: 0 / 0.6885 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002888/0.1327, allocations: 172.4 kB / 0.6886 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.1327, allocations: 0.9062 kB / 0.6886 GB, free: 11.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.1328, allocations: 37.69 kB / 0.6887 GB, free: 11.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.133, allocations: 135.9 kB / 0.6888 GB, free: 11.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.133, allocations: 0.5312 kB / 0.6888 GB, free: 11.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.133, allocations: 0.6562 kB / 0.6888 GB, free: 11.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.133, allocations: 4 kB / 0.6888 GB, free: 11.3 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.0002856/0.1333, allocations: 339.6 kB / 0.6891 GB, free: 10.92 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.1333, allocations: 8.031 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.209e-05/0.1334, allocations: 30.75 kB / 0.6892 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.1334, allocations: 4.938 kB / 0.6892 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.801e-05/0.1335, allocations: 176.2 kB / 0.6893 GB, free: 10.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.67e-05/0.1336, allocations: 30.25 kB / 0.6894 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.1336, allocations: 8.109 kB / 0.6894 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.1337, allocations: 45.62 kB / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.33e-06/0.1337, allocations: 0.5938 kB / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1337, allocations: 0.6562 kB / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.1337, allocations: 0 / 0.6894 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.1338, allocations: 20.7 kB / 0.6894 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.1343, allocations: 0.5818 MB / 0.69 GB, free: 9.844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.023e-05/0.1343, allocations: 22.52 kB / 0.69 GB, free: 9.812 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.1343, allocations: 8.922 kB / 0.69 GB, free: 9.801 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.1345, allocations: 340.4 kB / 0.6904 GB, free: 9.395 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.1346, allocations: 30.56 kB / 0.6904 GB, free: 9.355 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1346, allocations: 0 / 0.6904 GB, free: 9.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000112/0.1347, allocations: 45.62 kB / 0.6904 GB, free: 9.305 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.1347, allocations: 55.34 kB / 0.6905 GB, free: 9.238 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.256e-05/0.1348, allocations: 105.8 kB / 0.6906 GB, free: 9.125 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1348, allocations: 25.7 kB / 0.6906 GB, free: 9.094 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.1349, allocations: 92.11 kB / 0.6907 GB, free: 9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/0.1349, allocations: 0 / 0.6907 GB, free: 9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.021e-05/0.1349, allocations: 13.72 kB / 0.6907 GB, free: 8.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.135, allocations: 322.8 kB / 0.691 GB, free: 8.656 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.293e-05/0.135, allocations: 3.984 kB / 0.691 GB, free: 8.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.071e-05/0.135, allocations: 13.72 kB / 0.691 GB, free: 8.633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.186e-05/0.1351, allocations: 25.72 kB / 0.6911 GB, free: 8.602 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1351, allocations: 3.938 kB / 0.6911 GB, free: 8.598 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.486e-05/0.1351, allocations: 49.59 kB / 0.6911 GB, free: 8.543 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1352, allocations: 8 kB / 0.6911 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1352, allocations: 0 / 0.6911 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.154e-06/0.1352, allocations: 0 / 0.6911 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.604e-05/0.1352, allocations: 4 kB / 0.6911 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1352, allocations: 3.984 kB / 0.6911 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.687e-05/0.1353, allocations: 7.938 kB / 0.6911 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.1353, allocations: 3.938 kB / 0.6911 GB, free: 8.516 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.662e-05/0.1353, allocations: 118.5 kB / 0.6913 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.247e-05/0.1354, allocations: 0 / 0.6913 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.876e-05/0.1355, allocations: 121 kB / 0.6914 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.483e-05/0.1355, allocations: 180.2 kB / 0.6915 GB, free: 8.078 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.743e-05/0.1356, allocations: 176.3 kB / 0.6917 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.634e-05/0.1356, allocations: 184.3 kB / 0.6919 GB, free: 7.711 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.1358, allocations: 409.1 kB / 0.6923 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/0.1358, allocations: 105 kB / 0.6924 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.1359, allocations: 104.9 kB / 0.6925 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.033e-05/0.1359, allocations: 180.2 kB / 0.6926 GB, free: 6.852 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.136, allocations: 184.3 kB / 0.6928 GB, free: 6.664 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.777e-05/0.136, allocations: 184.4 kB / 0.693 GB, free: 6.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.534e-05/0.1361, allocations: 180.3 kB / 0.6932 GB, free: 6.293 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.1362, allocations: 312 kB / 0.6935 GB, free: 5.965 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.1363, allocations: 182 kB / 0.6936 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.1363, allocations: 188.2 kB / 0.6938 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.1365, allocations: 117 kB / 0.6939 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.48e-05/0.1365, allocations: 184.2 kB / 0.6941 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.1366, allocations: 101 kB / 0.6942 GB, free: 5.156 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.543e-05/0.1366, allocations: 87.27 kB / 0.6943 GB, free: 5.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1366, allocations: 0 / 0.6943 GB, free: 5.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1369, allocations: 47.88 kB / 0.6943 GB, free: 5.023 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.000413/0.1373, allocations: 0.8671 MB / 0.6952 GB, free: 4.125 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 4.837e-05/0.1374, allocations: 8 kB / 0.6952 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1374, allocations: 0 / 0.6952 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1374, allocations: 0 / 0.6952 GB, free: 4.117 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.1378, allocations: 0.5342 MB / 0.6957 GB, free: 3.578 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007954/0.1386, allocations: 1.333 MB / 0.697 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.1388, allocations: 0.677 MB / 0.6977 GB, free: 1.453 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.917e-05/0.1388, allocations: 16.72 kB / 0.6977 GB, free: 1.441 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.1388, allocations: 7.438 kB / 0.6977 GB, free: 1.434 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1388, allocations: 0 / 0.6977 GB, free: 1.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4258/0.5646, allocations: 1.968 MB / 0.6996 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.5649, allocations: 277.8 kB / 0.6999 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.279, allocations: 0 / 0.6999 GB, free: 15.34 MB / 0.4981 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/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)