Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001217/0.001217, 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.001256/0.001256, allocations: 195.8 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.241/1.241, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001933/0.001933, allocations: 294.8 kB / 290.2 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8888/0.8888, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 88.86 kB / 0.5946 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1514, allocations: 86.98 MB / 0.6795 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004746/0.1562, allocations: 4.095 MB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00234/0.1585, allocations: 2.461 MB / 0.6859 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.1586, allocations: 0 / 0.6859 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.1588, allocations: 39.8 kB / 0.686 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1591, allocations: 91.42 kB / 0.6861 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.16, allocations: 479 kB / 0.6865 GB, free: 9.914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.1603, allocations: 339.7 kB / 0.6869 GB, free: 9.582 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.1604, allocations: 17.55 kB / 0.6869 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.1605, allocations: 107.6 kB / 0.687 GB, free: 9.461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.1607, allocations: 95.64 kB / 0.6871 GB, free: 9.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1607, allocations: 8 kB / 0.6871 GB, free: 9.359 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006979/0.1614, allocations: 459.1 kB / 0.6875 GB, free: 8.91 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.356e-05/0.1615, allocations: 47.88 kB / 0.6876 GB, free: 8.863 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.399e-05/0.1616, allocations: 71.67 kB / 0.6876 GB, free: 8.793 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005405/0.1621, allocations: 423.2 kB / 0.688 GB, free: 8.379 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1621, allocations: 0 / 0.688 GB, free: 8.379 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.1621, allocations: 0 / 0.688 GB, free: 8.379 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1621, allocations: 0 / 0.688 GB, free: 8.379 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006433/0.1628, allocations: 0.4992 MB / 0.6885 GB, free: 7.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.1628, allocations: 8.031 kB / 0.6885 GB, free: 7.824 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.137e-05/0.1629, allocations: 54.73 kB / 0.6886 GB, free: 7.762 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.1648, allocations: 180.5 kB / 0.6887 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.165, allocations: 208.2 kB / 0.6889 GB, free: 7.344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.1651, allocations: 20.7 kB / 0.689 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.1651, allocations: 12.38 kB / 0.689 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005896/0.1657, allocations: 308.8 kB / 0.6893 GB, free: 6.977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1657, allocations: 3.938 kB / 0.6893 GB, free: 6.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.1658, allocations: 8 kB / 0.6893 GB, free: 6.965 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.1658, allocations: 7.984 kB / 0.6893 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006663/0.1664, allocations: 263.6 kB / 0.6895 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.1679, allocations: 1.392 MB / 0.6909 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.1685, allocations: 198.4 kB / 0.6911 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.1687, allocations: 76.81 kB / 0.6912 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.1688, allocations: 8 kB / 0.6912 GB, free: 4.902 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.1688, allocations: 34.56 kB / 0.6912 GB, free: 4.859 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.1688, allocations: 3.938 kB / 0.6912 GB, free: 4.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007228/0.1695, allocations: 247.7 kB / 0.6914 GB, free: 4.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.1696, allocations: 55.41 kB / 0.6915 GB, free: 4.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.1697, allocations: 164.5 kB / 0.6917 GB, free: 4.375 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.1698, allocations: 29.7 kB / 0.6917 GB, free: 4.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.605e-05/0.1698, allocations: 124 kB / 0.6918 GB, free: 4.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.846e-05/0.1699, allocations: 67.08 kB / 0.6919 GB, free: 4.148 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-05/0.17, allocations: 49.92 kB / 0.6919 GB, free: 4.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.897e-05/0.1701, allocations: 326.8 kB / 0.6922 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.1703, allocations: 68.42 kB / 0.6923 GB, free: 3.695 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.1705, allocations: 136 kB / 0.6924 GB, free: 3.531 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.1709, allocations: 217.2 kB / 0.6926 GB, free: 3.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.171, allocations: 4 kB / 0.6926 GB, free: 3.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005416/0.1715, allocations: 259.4 kB / 0.6929 GB, free: 3.023 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.1715, allocations: 8 kB / 0.6929 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1715, allocations: 0 / 0.6929 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1716, allocations: 4 kB / 0.6929 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.1719, allocations: 63.89 kB / 0.6929 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1719, allocations: 4 kB / 0.693 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.1722, allocations: 39.98 kB / 0.693 GB, free: 2.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.1722, allocations: 19.92 kB / 0.693 GB, free: 2.887 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001033/0.1723, allocations: 130.4 kB / 0.6931 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.1724, allocations: 11.91 kB / 0.6931 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/0.173, allocations: 228.6 kB / 0.6934 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.173, allocations: 4 kB / 0.6934 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.173, allocations: 0 / 0.6934 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.173, allocations: 4 kB / 0.6934 GB, free: 2.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.1733, allocations: 245.4 kB / 0.6936 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.1733, allocations: 0 / 0.6936 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003077/0.1736, allocations: 43.91 kB / 0.6936 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1736, allocations: 4 kB / 0.6936 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.1736, allocations: 7.984 kB / 0.6937 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1736, allocations: 0 / 0.6937 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1736, allocations: 0 / 0.6937 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005186/0.1742, allocations: 304.8 kB / 0.6939 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.1743, allocations: 104.8 kB / 0.694 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.1743, allocations: 8 kB / 0.6941 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.1746, allocations: 11.98 kB / 0.6941 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.1746, allocations: 23.97 kB / 0.6941 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.1747, allocations: 4 kB / 0.6941 GB, free: 1.676 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.468e-05/0.1747, allocations: 120.9 kB / 0.6942 GB, free: 1.559 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1747, allocations: 0 / 0.6942 GB, free: 1.559 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003428/0.1751, allocations: 63.94 kB / 0.6943 GB, free: 1.496 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 (20): * Single equations (assignments): 20 * 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.000843/0.1759, allocations: 0.8701 MB / 0.6951 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005083/0.1765, allocations: 179.8 kB / 0.6953 GB, free: 436 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1765, allocations: 0 / 0.6953 GB, free: 436 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.1767, allocations: 84.52 kB / 0.6954 GB, free: 352 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005271/0.1772, allocations: 63.88 kB / 0.6954 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.1801, allocations: 2.205 MB / 0.6976 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.1804, allocations: 0.7134 MB / 0.6983 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003541/0.1808, allocations: 53.92 kB / 0.6983 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.1809, allocations: 51.41 kB / 0.6984 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1809, allocations: 0 / 0.6984 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01488/0.1958, allocations: 4.915 MB / 0.7032 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000172/0.196, allocations: 249.8 kB / 0.7034 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.862, allocations: 1.562 kB / 0.7034 GB, free: 8.152 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)