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.0007981/0.000798, allocations: 96.62 kB / 15.36 MB, free: 0.7344 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.005566/0.005566, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.418/1.418, allocations: 223.3 MB / 240.3 MB, free: 5.328 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 1.014/1.014, allocations: 143.2 MB / 434.6 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003318, allocations: 8 kB / 0.5164 GB, free: 11.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1817, allocations: 83.42 MB / 0.5978 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001474/0.1832, allocations: 0.9861 MB / 0.5988 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003117/0.1864, allocations: 2.476 MB / 0.6012 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.1864, allocations: 0 / 0.6012 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.1864, allocations: 0 / 0.6012 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.1865, allocations: 11.92 kB / 0.6012 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.187, allocations: 119.5 kB / 0.6013 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.749e-05/0.1871, allocations: 31.92 kB / 0.6014 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.458e-05/0.1871, allocations: 3.984 kB / 0.6014 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.1872, allocations: 27.86 kB / 0.6014 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.634e-05/0.1873, allocations: 11.98 kB / 0.6014 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1873, allocations: 4 kB / 0.6014 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.1876, allocations: 111.8 kB / 0.6015 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.1876, allocations: 7.922 kB / 0.6015 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.1877, allocations: 45.62 kB / 0.6016 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.1879, allocations: 88.05 kB / 0.6017 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.1879, allocations: 0 / 0.6017 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1879, allocations: 3.938 kB / 0.6017 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.1879, allocations: 0 / 0.6017 GB, free: 3.746 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.0004054/0.1883, allocations: 331.6 kB / 0.602 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1883, allocations: 12.03 kB / 0.602 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.1886, allocations: 16.83 kB / 0.602 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1887, allocations: 168.3 kB / 0.6022 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1887, allocations: 4.375 kB / 0.6022 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.1888, allocations: 4.375 kB / 0.6022 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1889, allocations: 76.31 kB / 0.6023 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.189, allocations: 0 / 0.6023 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.189, allocations: 7.984 kB / 0.6023 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.189, allocations: 4 kB / 0.6023 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/0.189, allocations: 12 kB / 0.6023 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006427/0.1897, allocations: 470.8 kB / 0.6027 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1899, allocations: 75.66 kB / 0.6028 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.1899, allocations: 22.8 kB / 0.6028 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1899, allocations: 3.984 kB / 0.6028 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.1899, allocations: 34.56 kB / 0.6029 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.19, allocations: 4 kB / 0.6029 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0006406/0.1906, allocations: 290.2 kB / 0.6031 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/0.1907, allocations: 114.7 kB / 0.6032 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.154e-05/0.1908, allocations: 101.8 kB / 0.6033 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.1908, allocations: 29.7 kB / 0.6034 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.1908, allocations: 88.3 kB / 0.6035 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.1909, allocations: 35.48 kB / 0.6035 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.1909, allocations: 17.72 kB / 0.6035 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.1911, allocations: 322.8 kB / 0.6038 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.826e-05/0.1911, allocations: 8 kB / 0.6038 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.092e-05/0.1912, allocations: 57.02 kB / 0.6039 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.1913, allocations: 81.08 kB / 0.604 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1913, allocations: 0 / 0.604 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001473/0.1914, allocations: 94.05 kB / 0.604 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1914, allocations: 8.125 kB / 0.6041 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1914, allocations: 4 kB / 0.6041 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1915, allocations: 4 kB / 0.6041 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.1916, allocations: 16 kB / 0.6041 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.1916, allocations: 3.984 kB / 0.6041 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.1916, allocations: 8 kB / 0.6041 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1916, allocations: 4 kB / 0.6041 GB, free: 0.9023 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 7.857e-05/0.1917, allocations: 121.7 kB / 0.6042 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.1918, allocations: 3.906 kB / 0.6042 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/0.1918, allocations: 19.59 kB / 0.6042 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.1918, allocations: 0 / 0.6042 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1918, allocations: 64 / 0.6042 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.1918, allocations: 8 kB / 0.6042 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003229/0.1922, allocations: 173.6 kB / 0.6044 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1922, allocations: 0 / 0.6044 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-05/0.1923, allocations: 19.98 kB / 0.6044 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1923, allocations: 4 kB / 0.6044 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.1923, allocations: 0 / 0.6044 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1923, allocations: 0 / 0.6044 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.676e-06/0.1923, allocations: 4 kB / 0.6044 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.1925, allocations: 333.9 kB / 0.6047 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.1926, allocations: 85.11 kB / 0.6048 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1926, allocations: 4.031 kB / 0.6048 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.1928, allocations: 4 kB / 0.6048 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.55e-05/0.1928, allocations: 4 kB / 0.6048 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.1928, allocations: 15.94 kB / 0.6049 GB, free: 28 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.3479/0.5407, allocations: 79.27 kB / 0.6049 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.423e-06/0.5408, allocations: 0 / 0.6049 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004566/0.5412, allocations: 12.22 kB / 0.6049 GB, free: 41.06 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.0001546/0.5414, allocations: 105.9 kB / 0.605 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001525/0.5416, allocations: 44.55 kB / 0.6051 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5416, allocations: 0 / 0.6051 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.588e-05/0.5416, allocations: 20.77 kB / 0.6051 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004701/0.5421, allocations: 11.36 kB / 0.6051 GB, free: 40.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005788/0.5427, allocations: 403.5 kB / 0.6055 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.999e-05/0.5428, allocations: 0.6924 MB / 0.6062 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.226e-05/0.5428, allocations: 4.484 kB / 0.6062 GB, free: 40.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.5429, allocations: 18.94 kB / 0.6062 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.5429, allocations: 1.969 kB / 0.6062 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.0025/0.5454, allocations: 0.6097 MB / 0.6068 GB, free: 40.02 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)