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.0009087/0.0009089, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001115/0.001115, allocations: 195 kB / 16.25 MB, free: 6.621 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.159/1.159, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001878, allocations: 283 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.85/0.85, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 96.81 kB / 0.5948 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.127, allocations: 86.98 MB / 0.6797 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.0038/0.1308, allocations: 3.332 MB / 0.683 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 7.316e-05/0.1309, allocations: 51.86 kB / 0.683 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.391e-05/0.1309, allocations: 0 / 0.683 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.788e-05/0.131, allocations: 3.938 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.595e-05/0.1311, allocations: 19.91 kB / 0.6831 GB, free: 13.54 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.1314, allocations: 170.2 kB / 0.6832 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.149e-05/0.1315, allocations: 31.91 kB / 0.6833 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.042e-05/0.1315, allocations: 7.984 kB / 0.6833 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.241e-05/0.1315, allocations: 8 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.98e-05/0.1316, allocations: 23.84 kB / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.632e-06/0.1316, allocations: 0 / 0.6833 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.1318, allocations: 171.6 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.1319, allocations: 8 kB / 0.6835 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.952e-05/0.1319, allocations: 15.97 kB / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.1321, allocations: 139.9 kB / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.1321, allocations: 0 / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.82e-07/0.1321, allocations: 0 / 0.6836 GB, free: 12.97 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.365e-06/0.1321, allocations: 0 / 0.6836 GB, free: 12.97 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.0002509/0.1324, allocations: 347.5 kB / 0.6839 GB, free: 12.59 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.346e-05/0.1324, allocations: 8.031 kB / 0.6839 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.102e-05/0.1324, allocations: 34.75 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.1325, allocations: 0.9375 kB / 0.684 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.428e-05/0.1325, allocations: 168.3 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.1326, allocations: 34.27 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.073e-06/0.1326, allocations: 12 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.134e-05/0.1327, allocations: 41.69 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.687e-06/0.1327, allocations: 0 / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.082e-06/0.1327, allocations: 0 / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1327, allocations: 4 kB / 0.6842 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.997e-05/0.1327, allocations: 11.98 kB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.1332, allocations: 0.5872 MB / 0.6848 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.224e-05/0.1332, allocations: 22.52 kB / 0.6848 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.1e-05/0.1332, allocations: 4.859 kB / 0.6848 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.1334, allocations: 348.5 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.1335, allocations: 30.56 kB / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.1335, allocations: 0 / 0.6852 GB, free: 11.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001048/0.1336, allocations: 37.7 kB / 0.6852 GB, free: 10.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.1336, allocations: 55.34 kB / 0.6853 GB, free: 10.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.1337, allocations: 105.8 kB / 0.6854 GB, free: 10.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.1337, allocations: 25.7 kB / 0.6854 GB, free: 10.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.1337, allocations: 91.98 kB / 0.6855 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.171e-06/0.1337, allocations: 7.906 kB / 0.6855 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.1338, allocations: 17.72 kB / 0.6855 GB, free: 10.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.396e-05/0.1339, allocations: 318.8 kB / 0.6858 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.1339, allocations: 8.125 kB / 0.6858 GB, free: 10.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.948e-05/0.1339, allocations: 17.72 kB / 0.6859 GB, free: 10.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/0.1339, allocations: 21.7 kB / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.1339, allocations: 0 / 0.6859 GB, free: 10.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.47e-05/0.134, allocations: 45.64 kB / 0.6859 GB, free: 10.21 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.134, allocations: 7.984 kB / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.134, allocations: 4.062 kB / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.134, allocations: 0 / 0.6859 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.148e-05/0.1341, allocations: 4 kB / 0.6859 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1341, allocations: 4 kB / 0.6859 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.639e-05/0.1341, allocations: 7.938 kB / 0.6859 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.1341, allocations: 288 / 0.6859 GB, free: 10.18 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.897e-05/0.1342, allocations: 118.4 kB / 0.6861 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1342, allocations: 0 / 0.6861 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.718e-05/0.1343, allocations: 127 kB / 0.6862 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.225e-05/0.1344, allocations: 180.3 kB / 0.6864 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.034e-05/0.1344, allocations: 184.2 kB / 0.6865 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.394e-05/0.1345, allocations: 176.3 kB / 0.6867 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001815/0.1347, allocations: 413.1 kB / 0.6871 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-05/0.1347, allocations: 109 kB / 0.6872 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.1347, allocations: 101 kB / 0.6873 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.654e-05/0.1348, allocations: 180.3 kB / 0.6875 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/0.1348, allocations: 188.3 kB / 0.6876 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.643e-05/0.1349, allocations: 180.2 kB / 0.6878 GB, free: 8.133 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.848e-05/0.1349, allocations: 184.2 kB / 0.688 GB, free: 7.945 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001027/0.135, allocations: 311.6 kB / 0.6883 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.1351, allocations: 178.1 kB / 0.6885 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.1352, allocations: 196.2 kB / 0.6886 GB, free: 7.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.1353, allocations: 105 kB / 0.6887 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.1354, allocations: 184.2 kB / 0.6889 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.1354, allocations: 101 kB / 0.689 GB, free: 6.816 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.085e-05/0.1354, allocations: 87.27 kB / 0.6891 GB, free: 6.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1354, allocations: 0 / 0.6891 GB, free: 6.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1357, allocations: 35.88 kB / 0.6891 GB, free: 6.695 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.0004212/0.1361, allocations: 0.8749 MB / 0.69 GB, free: 5.789 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.641e-05/0.1362, allocations: 16 kB / 0.69 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1362, allocations: 0 / 0.69 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.1362, allocations: 0 / 0.69 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.1365, allocations: 459.7 kB / 0.6904 GB, free: 5.32 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.1374, allocations: 1.344 MB / 0.6918 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.1376, allocations: 0.6768 MB / 0.6924 GB, free: 3.188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.554e-05/0.1376, allocations: 4 kB / 0.6924 GB, free: 3.184 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.1376, allocations: 9.312 kB / 0.6924 GB, free: 3.18 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1376, allocations: 0 / 0.6924 GB, free: 3.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2521/0.3897, allocations: 2.07 MB / 0.6945 GB, free: 1.34 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.39, allocations: 279.5 kB / 0.6947 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.557/1.947, allocations: 0 / 0.6947 GB, free: 0.9766 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)