Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_8_Buildings_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.001192/0.001192, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009846/0.0009846, allocations: 197.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.174/1.174, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.583/1.583, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 71.34 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1755, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00457/0.1801, allocations: 4.044 MB / 0.7874 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002184/0.1823, allocations: 2.399 MB / 0.7898 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.247e-05/0.1824, allocations: 0 / 0.7898 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.1826, allocations: 47.67 kB / 0.7898 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002134/0.1828, allocations: 107.3 kB / 0.7899 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008655/0.1837, allocations: 0.4967 MB / 0.7904 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1839, allocations: 263.8 kB / 0.7906 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.184, allocations: 13.56 kB / 0.7907 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.1842, allocations: 107.6 kB / 0.7908 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1843, allocations: 99.58 kB / 0.7909 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.1843, allocations: 11.94 kB / 0.7909 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006984/0.185, allocations: 431.3 kB / 0.7913 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.1851, allocations: 35.89 kB / 0.7913 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.704e-05/0.1852, allocations: 83.66 kB / 0.7914 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000568/0.1858, allocations: 403.2 kB / 0.7918 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1858, allocations: 0 / 0.7918 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1858, allocations: 0 / 0.7918 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.1858, allocations: 4 kB / 0.7918 GB, free: 4.836 MB / 0.6075 GB 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.0006577/0.1865, allocations: 0.4992 MB / 0.7923 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.1865, allocations: 12.03 kB / 0.7923 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.1866, allocations: 50.73 kB / 0.7923 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.1884, allocations: 184.5 kB / 0.7925 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1886, allocations: 204.2 kB / 0.7927 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.1886, allocations: 12.7 kB / 0.7927 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.1887, allocations: 12.38 kB / 0.7927 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005541/0.1892, allocations: 308.2 kB / 0.793 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1892, allocations: 0 / 0.793 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.1893, allocations: 12 kB / 0.793 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.1893, allocations: 4 kB / 0.793 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006431/0.1899, allocations: 263.5 kB / 0.7933 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/0.1913, allocations: 1.381 MB / 0.7946 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006117/0.1919, allocations: 201.8 kB / 0.7948 GB, free: 1.469 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.1922, allocations: 80.81 kB / 0.7949 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1922, allocations: 7.984 kB / 0.7949 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.867e-05/0.1922, allocations: 30.56 kB / 0.7949 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.1922, allocations: 0 / 0.7949 GB, free: 1.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0007249/0.193, allocations: 256.1 kB / 0.7952 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.193, allocations: 51.41 kB / 0.7952 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1931, allocations: 157.2 kB / 0.7954 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.1932, allocations: 37.64 kB / 0.7954 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.1932, allocations: 128 kB / 0.7955 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.1933, allocations: 59.11 kB / 0.7956 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.1934, allocations: 53.92 kB / 0.7956 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.1934, allocations: 326.8 kB / 0.796 GB, free: 244 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.1937, allocations: 64.42 kB / 0.796 GB, free: 180 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002317/0.1939, allocations: 143.5 kB / 0.7962 GB, free: 4 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.1944, allocations: 213.2 kB / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1944, allocations: 4 kB / 0.7964 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005411/0.1949, allocations: 252.1 kB / 0.7966 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1949, allocations: 8.312 kB / 0.7966 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1949, allocations: 4 kB / 0.7966 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.195, allocations: 7.938 kB / 0.7966 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.1953, allocations: 63.89 kB / 0.7967 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.1953, allocations: 7.938 kB / 0.7967 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.1955, allocations: 27.83 kB / 0.7967 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.1956, allocations: 15.98 kB / 0.7967 GB, free: 15.38 MB / 0.6231 GB 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.0001111/0.1957, allocations: 134.3 kB / 0.7969 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.1957, allocations: 19.81 kB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005828/0.1963, allocations: 226.7 kB / 0.7971 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1963, allocations: 0 / 0.7971 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1963, allocations: 0 / 0.7971 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.1963, allocations: 4 kB / 0.7971 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002471/0.1966, allocations: 249.3 kB / 0.7973 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1966, allocations: 0 / 0.7973 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/0.1969, allocations: 47.91 kB / 0.7974 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1969, allocations: 4 kB / 0.7974 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.1969, allocations: 7.938 kB / 0.7974 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1969, allocations: 4 kB / 0.7974 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1969, allocations: 0 / 0.7974 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.1975, allocations: 297.6 kB / 0.7977 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.1975, allocations: 104.9 kB / 0.7978 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.333e-05/0.1976, allocations: 8 kB / 0.7978 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.1978, allocations: 11.98 kB / 0.7978 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.1979, allocations: 11.98 kB / 0.7978 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1979, allocations: 7.938 kB / 0.7978 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.887e-05/0.198, allocations: 121.5 kB / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.198, allocations: 0 / 0.7979 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000318/0.1983, allocations: 64.06 kB / 0.798 GB, free: 13.98 MB / 0.6231 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 () * 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.000787/0.1991, allocations: 0.8566 MB / 0.7988 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005101/0.1996, allocations: 192.3 kB / 0.799 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1996, allocations: 4 kB / 0.799 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.1998, allocations: 86.12 kB / 0.7991 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.2003, allocations: 58.33 kB / 0.7992 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.2031, allocations: 2.144 MB / 0.8013 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.2033, allocations: 0.7212 MB / 0.802 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003265/0.2036, allocations: 45.94 kB / 0.802 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.2037, allocations: 47.41 kB / 0.802 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2037, allocations: 0 / 0.802 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.637/1.841, allocations: 5.038 MB / 0.807 GB, free: 4.785 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/10.35, allocations: 0.7656 kB / 0.807 GB, free: 4.785 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_8_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)