Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.005179/0.005184, allocations: 105 kB / 15.74 MB, free: 6.039 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.001073/0.001072, allocations: 200.8 kB / 16.68 MB, free: 5.957 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.521/1.521, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.611/1.611, allocations: 251.7 MB / 0.5094 GB, free: 3.004 MB / 414.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.001689/0.001689, allocations: 68.45 kB / 0.7258 GB, free: 9.039 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2314, allocations: 104.7 MB / 0.828 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002821/0.2343, allocations: 1.264 MB / 0.8293 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003295/0.2376, allocations: 2.508 MB / 0.8317 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.827e-05/0.2377, allocations: 4 kB / 0.8317 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.2377, allocations: 0 / 0.8317 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.519e-05/0.2378, allocations: 7.922 kB / 0.8317 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006574/0.2384, allocations: 123.4 kB / 0.8318 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.839e-05/0.2385, allocations: 43.84 kB / 0.8319 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.2386, allocations: 3.938 kB / 0.8319 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.415e-05/0.2386, allocations: 23.98 kB / 0.8319 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.2387, allocations: 15.91 kB / 0.8319 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.2387, allocations: 4 kB / 0.8319 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003434/0.2391, allocations: 111.8 kB / 0.832 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.2391, allocations: 11.98 kB / 0.832 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.2392, allocations: 11.94 kB / 0.832 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.2394, allocations: 87.77 kB / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.2394, allocations: 0 / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2394, allocations: 3.938 kB / 0.8321 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.2394, allocations: 0 / 0.8321 GB, free: 11.98 MB / 0.6544 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.0004939/0.2399, allocations: 363.4 kB / 0.8325 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.24, allocations: 8.031 kB / 0.8325 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002874/0.2403, allocations: 12.92 kB / 0.8325 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.2404, allocations: 160.4 kB / 0.8327 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2404, allocations: 4.375 kB / 0.8327 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.2405, allocations: 8.375 kB / 0.8327 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.2406, allocations: 80.36 kB / 0.8327 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2407, allocations: 3.938 kB / 0.8327 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.2407, allocations: 3.938 kB / 0.8328 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2407, allocations: 4 kB / 0.8328 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.814e-05/0.2408, allocations: 7.984 kB / 0.8328 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.2415, allocations: 474.8 kB / 0.8332 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.2417, allocations: 71.81 kB / 0.8333 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.2417, allocations: 22.64 kB / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2417, allocations: 0 / 0.8333 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.2418, allocations: 42.5 kB / 0.8333 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.2418, allocations: 0 / 0.8333 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0006982/0.2425, allocations: 306.1 kB / 0.8336 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.2425, allocations: 106.8 kB / 0.8337 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.107e-05/0.2426, allocations: 102.1 kB / 0.8338 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.2427, allocations: 33.7 kB / 0.8339 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.2427, allocations: 88.05 kB / 0.834 GB, free: 9.812 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.2428, allocations: 23.66 kB / 0.834 GB, free: 9.789 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.2428, allocations: 25.7 kB / 0.834 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2429, allocations: 318.8 kB / 0.8343 GB, free: 9.438 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.803e-05/0.243, allocations: 15.98 kB / 0.8343 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.268e-05/0.243, allocations: 53.14 kB / 0.8344 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.974e-05/0.2431, allocations: 65.09 kB / 0.8344 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2431, allocations: 0 / 0.8344 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001524/0.2433, allocations: 106.1 kB / 0.8345 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.2433, allocations: 4 kB / 0.8345 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.2433, allocations: 7.984 kB / 0.8345 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.2434, allocations: 0 / 0.8345 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.13e-05/0.2434, allocations: 23.92 kB / 0.8346 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2435, allocations: 4 kB / 0.8346 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.2435, allocations: 0 / 0.8346 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.2435, allocations: 4 kB / 0.8346 GB, free: 9.117 MB / 0.6544 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.0001012/0.2436, allocations: 125.8 kB / 0.8347 GB, free: 8.984 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.2437, allocations: 4 kB / 0.8347 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.2438, allocations: 15.55 kB / 0.8347 GB, free: 8.961 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2438, allocations: 4 kB / 0.8347 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2438, allocations: 4.062 kB / 0.8347 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2438, allocations: 0 / 0.8347 GB, free: 8.953 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003805/0.2442, allocations: 177.6 kB / 0.8349 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2442, allocations: 7.938 kB / 0.8349 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.345e-05/0.2443, allocations: 12 kB / 0.8349 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2443, allocations: 0 / 0.8349 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.2443, allocations: 7.984 kB / 0.8349 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.2443, allocations: 4 kB / 0.8349 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2443, allocations: 0 / 0.8349 GB, free: 8.699 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.2446, allocations: 333.8 kB / 0.8352 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.2446, allocations: 85.14 kB / 0.8353 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.2447, allocations: 0 / 0.8353 GB, free: 8.254 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.2449, allocations: 12 kB / 0.8353 GB, free: 8.242 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.2449, allocations: 3.984 kB / 0.8353 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.2449, allocations: 7.938 kB / 0.8353 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.2449, allocations: 79.28 kB / 0.8354 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2449, allocations: 0 / 0.8354 GB, free: 8.152 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003265/0.2453, allocations: 12 kB / 0.8354 GB, free: 8.141 MB / 0.6544 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.0001488/0.2454, allocations: 111.2 kB / 0.8355 GB, free: 8.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.2456, allocations: 55.84 kB / 0.8356 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.2456, allocations: 0 / 0.8356 GB, free: 7.965 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.2456, allocations: 19.94 kB / 0.8356 GB, free: 7.945 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.2461, allocations: 10.81 kB / 0.8356 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/0.2468, allocations: 336.5 kB / 0.8359 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/0.2471, allocations: 0.6885 MB / 0.8366 GB, free: 6.863 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.94e-05/0.2471, allocations: 4 kB / 0.8366 GB, free: 6.859 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.2472, allocations: 15.44 kB / 0.8366 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.2472, allocations: 0 / 0.8366 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of Templates: time 0.003448/0.2506, allocations: 0.6529 MB / 0.8373 GB, free: 6.23 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)