Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.445/1.445, allocations: 288.4 MB / 303.6 MB, free: 8.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008517/0.0008518, allocations: 187 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.153/1.153, allocations: 205.4 MB / 0.631 GB, free: 9.859 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000658/0.0006579, allocations: 86.34 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003192, allocations: 14.41 kB / 0.8676 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.144, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003012/0.1471, allocations: 3.579 MB / 0.9837 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1487, allocations: 2.241 MB / 0.9859 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.1488, allocations: 0 / 0.9859 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.149, allocations: 43.67 kB / 0.9859 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1492, allocations: 83.48 kB / 0.986 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.1499, allocations: 437.8 kB / 0.9864 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.1501, allocations: 287.8 kB / 0.9867 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.1501, allocations: 9.547 kB / 0.9867 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1503, allocations: 107.6 kB / 0.9868 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.626e-05/0.1504, allocations: 91.66 kB / 0.9869 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1504, allocations: 12 kB / 0.9869 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.1509, allocations: 419.1 kB / 0.9873 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.151, allocations: 39.88 kB / 0.9873 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.095e-05/0.1511, allocations: 97.44 kB / 0.9874 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.1513, allocations: 271.6 kB / 0.9877 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1513, allocations: 0 / 0.9877 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1513, allocations: 0 / 0.9877 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1514, allocations: 0 / 0.9877 GB, free: 19.53 MB / 0.6198 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.0004556/0.1518, allocations: 479.4 kB / 0.9881 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.946e-05/0.1519, allocations: 8.031 kB / 0.9882 GB, free: 19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.1519, allocations: 50.73 kB / 0.9882 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001614/0.1535, allocations: 188.4 kB / 0.9884 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.1537, allocations: 208.1 kB / 0.9886 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1537, allocations: 12.7 kB / 0.9886 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/0.1537, allocations: 20.31 kB / 0.9886 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004886/0.1542, allocations: 304.2 kB / 0.9889 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1543, allocations: 0 / 0.9889 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.1543, allocations: 8 kB / 0.9889 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.1543, allocations: 8 kB / 0.9889 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.1549, allocations: 263.6 kB / 0.9892 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001033/0.1559, allocations: 1.381 MB / 0.9905 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.1564, allocations: 192 kB / 0.9907 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000182/0.1566, allocations: 84.8 kB / 0.9908 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1567, allocations: 3.938 kB / 0.9908 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.174e-05/0.1567, allocations: 38.56 kB / 0.9908 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.1567, allocations: 0 / 0.9908 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006125/0.1573, allocations: 243.5 kB / 0.9911 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.629e-05/0.1573, allocations: 51.41 kB / 0.9911 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.271e-05/0.1574, allocations: 152.7 kB / 0.9912 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.1574, allocations: 33.7 kB / 0.9913 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.1575, allocations: 124 kB / 0.9914 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.1575, allocations: 63.09 kB / 0.9915 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.1575, allocations: 7.938 kB / 0.9915 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.619e-05/0.1576, allocations: 330.8 kB / 0.9918 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.1578, allocations: 76.34 kB / 0.9919 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.158, allocations: 140.1 kB / 0.992 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.1583, allocations: 214.6 kB / 0.9922 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1584, allocations: 4 kB / 0.9922 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004594/0.1588, allocations: 249.1 kB / 0.9924 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1588, allocations: 5.25 kB / 0.9924 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1589, allocations: 4 kB / 0.9924 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1589, allocations: 4 kB / 0.9924 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.1592, allocations: 64.2 kB / 0.9925 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1592, allocations: 8 kB / 0.9925 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.1594, allocations: 31.73 kB / 0.9925 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.1594, allocations: 8 kB / 0.9926 GB, free: 14.16 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.651e-05/0.1595, allocations: 143.2 kB / 0.9927 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.1595, allocations: 11.91 kB / 0.9927 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005058/0.1601, allocations: 226.6 kB / 0.9929 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1601, allocations: 8 kB / 0.9929 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1601, allocations: 0 / 0.9929 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1601, allocations: 0 / 0.9929 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.1603, allocations: 241.3 kB / 0.9932 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1603, allocations: 3.984 kB / 0.9932 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/0.1605, allocations: 43.97 kB / 0.9932 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1606, allocations: 4 kB / 0.9932 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.1606, allocations: 0 / 0.9932 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1606, allocations: 0 / 0.9932 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1606, allocations: 19.92 kB / 0.9932 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.161, allocations: 300.9 kB / 0.9935 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.1611, allocations: 104.9 kB / 0.9936 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1611, allocations: 3.938 kB / 0.9936 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002322/0.1613, allocations: 19.98 kB / 0.9936 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.1614, allocations: 11.98 kB / 0.9936 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.1614, allocations: 8 kB / 0.9936 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.636e-05/0.1614, allocations: 117.8 kB / 0.9938 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.1614, allocations: 0 / 0.9938 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002848/0.1617, allocations: 59.94 kB / 0.9938 GB, free: 12.77 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006177/0.1624, allocations: 0.8596 MB / 0.9947 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004046/0.1628, allocations: 179.7 kB / 0.9948 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1628, allocations: 0 / 0.9948 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.163, allocations: 88.52 kB / 0.9949 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.1634, allocations: 56.75 kB / 0.995 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.1649, allocations: 1.105 MB / 0.996 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.286e-05/0.165, allocations: 0.7176 MB / 0.9967 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003004/0.1653, allocations: 45.94 kB / 0.9968 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.314e-05/0.1654, allocations: 51.41 kB / 0.9968 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of SimCode: time 2.6e-07/0.1654, allocations: 0 / 0.9968 GB, free: 9.535 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3243/0.4898, allocations: 4.651 MB / 1.001 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/0.4899, allocations: 233 kB / 1.002 GB, free: 4.867 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/1.992, allocations: 0 / 1.002 GB, free: 4.867 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)