Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009584/0.0009584, allocations: 97.78 kB / 16.02 MB, free: 76 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.001072/0.001072, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9791/0.9791, allocations: 143.2 MB / 435.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003305/0.0003306, allocations: 8 kB / 0.517 GB, free: 11.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1798, allocations: 83.41 MB / 0.5985 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001766/0.1816, allocations: 0.9921 MB / 0.5995 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00434/0.1859, allocations: 2.48 MB / 0.6019 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.822e-05/0.186, allocations: 4 kB / 0.6019 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.186, allocations: 0 / 0.6019 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.1861, allocations: 11.91 kB / 0.6019 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000652/0.1868, allocations: 115.5 kB / 0.602 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.993e-05/0.1869, allocations: 35.91 kB / 0.602 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.956e-05/0.1869, allocations: 0 / 0.602 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.613e-05/0.187, allocations: 23.86 kB / 0.6021 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.966e-05/0.1871, allocations: 19.97 kB / 0.6021 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1871, allocations: 4 kB / 0.6021 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003851/0.1875, allocations: 103.8 kB / 0.6022 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.1875, allocations: 19.91 kB / 0.6022 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.1876, allocations: 37.64 kB / 0.6022 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1878, allocations: 56.12 kB / 0.6023 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1878, allocations: 0 / 0.6023 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.294e-06/0.1878, allocations: 0 / 0.6023 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.1878, allocations: 0 / 0.6023 GB, free: 3.766 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004895/0.1883, allocations: 343.5 kB / 0.6026 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.1884, allocations: 12.03 kB / 0.6026 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.1887, allocations: 24.77 kB / 0.6027 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.1889, allocations: 164.3 kB / 0.6028 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1889, allocations: 4.375 kB / 0.6028 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.189, allocations: 8.375 kB / 0.6028 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001771/0.1892, allocations: 68.38 kB / 0.6029 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1892, allocations: 4 kB / 0.6029 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1892, allocations: 7.938 kB / 0.6029 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.1892, allocations: 8 kB / 0.6029 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.206e-05/0.1893, allocations: 4 kB / 0.6029 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007764/0.1901, allocations: 474.8 kB / 0.6034 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.1903, allocations: 71.66 kB / 0.6034 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.1903, allocations: 26.78 kB / 0.6035 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.1903, allocations: 0 / 0.6035 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.1904, allocations: 38.56 kB / 0.6035 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.462e-06/0.1904, allocations: 0 / 0.6035 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.000825/0.1912, allocations: 298.2 kB / 0.6038 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.1913, allocations: 110.7 kB / 0.6039 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.727e-05/0.1914, allocations: 102 kB / 0.604 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1915, allocations: 37.7 kB / 0.604 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.83e-05/0.1915, allocations: 88.03 kB / 0.6041 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1916, allocations: 31.55 kB / 0.6041 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.254e-05/0.1916, allocations: 17.72 kB / 0.6042 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1918, allocations: 322.8 kB / 0.6045 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.1919, allocations: 8 kB / 0.6045 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.19e-05/0.192, allocations: 57.14 kB / 0.6045 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.1921, allocations: 69.08 kB / 0.6046 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1921, allocations: 4 kB / 0.6046 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002269/0.1924, allocations: 93.58 kB / 0.6047 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1924, allocations: 4 kB / 0.6047 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1924, allocations: 4 kB / 0.6047 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1924, allocations: 0 / 0.6047 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.1926, allocations: 23.94 kB / 0.6047 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.1926, allocations: 7.984 kB / 0.6047 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.1927, allocations: 0 / 0.6047 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1927, allocations: 4 kB / 0.6047 GB, free: 0.9141 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.0001203/0.1928, allocations: 121.7 kB / 0.6048 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.1929, allocations: 12 kB / 0.6049 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.193, allocations: 7.562 kB / 0.6049 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.193, allocations: 4 kB / 0.6049 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.193, allocations: 0 / 0.6049 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.193, allocations: 0 / 0.6049 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.1935, allocations: 177.6 kB / 0.605 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1935, allocations: 7.938 kB / 0.605 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001225/0.1937, allocations: 15.98 kB / 0.6051 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.1937, allocations: 0.6094 kB / 0.6051 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.1937, allocations: 4 kB / 0.6051 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1937, allocations: 7.938 kB / 0.6051 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1937, allocations: 0 / 0.6051 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.194, allocations: 337.9 kB / 0.6054 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.1941, allocations: 85.14 kB / 0.6055 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.1942, allocations: 0 / 0.6055 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.1944, allocations: 8.156 kB / 0.6055 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.711e-05/0.1945, allocations: 11.98 kB / 0.6055 GB, free: 40 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1945, allocations: 7.938 kB / 0.6055 GB, free: 32 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.3584/0.5529, allocations: 83.27 kB / 0.6056 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.202e-06/0.5529, allocations: 0 / 0.6056 GB, free: 41.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004742/0.5534, allocations: 11.66 kB / 0.6056 GB, free: 41.12 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001897/0.5536, allocations: 100.7 kB / 0.6057 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001846/0.5538, allocations: 50.78 kB / 0.6057 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.5538, allocations: 0 / 0.6057 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.204e-05/0.5539, allocations: 19.75 kB / 0.6058 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005491/0.5544, allocations: 11.64 kB / 0.6058 GB, free: 41.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007241/0.5551, allocations: 427 kB / 0.6062 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.5553, allocations: 0.6842 MB / 0.6068 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.176e-05/0.5553, allocations: 11.59 kB / 0.6069 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.5553, allocations: 2.125 kB / 0.6069 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of Templates: time 0.002256/0.5576, allocations: 0.7818 MB / 0.6076 GB, free: 40.05 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)