Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.742/3.742, allocations: 251.1 MB / 266.7 MB, free: 11.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00201/0.00201, allocations: 179.8 kB / 326.2 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.976/3.976, allocations: 205.4 MB / 0.5772 GB, free: 20.76 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001443/0.001443, allocations: 88.27 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007163/0.0007165, allocations: 11.84 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3997, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.715/2.115, allocations: 344.8 MB / 1.236 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004491/2.116, allocations: 87.31 kB / 1.236 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.04396/2.16, allocations: 8.142 MB / 1.244 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.833e-06/2.16, allocations: 4 kB / 1.244 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.206e-06/2.16, allocations: 3.938 kB / 1.244 GB, free: 1.773 MB / 0.7448 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.0005755/2.16, allocations: 358.5 kB / 1.245 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/2.16, allocations: 15.97 kB / 1.245 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000416/2.161, allocations: 16.91 kB / 1.245 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/2.161, allocations: 164.3 kB / 1.245 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/2.161, allocations: 384 / 1.245 GB, free: 1.148 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/2.161, allocations: 7.812 kB / 1.245 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/2.161, allocations: 75.94 kB / 1.245 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/2.161, allocations: 192 / 1.245 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/2.161, allocations: 3.938 kB / 1.245 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/2.161, allocations: 0 / 1.245 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.38e-05/2.162, allocations: 23.48 kB / 1.245 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/2.163, allocations: 469.3 kB / 1.245 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/2.163, allocations: 74.97 kB / 1.245 GB, free: 440 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.021e-05/2.163, allocations: 22.08 kB / 1.245 GB, free: 412 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/2.163, allocations: 7.938 kB / 1.245 GB, free: 404 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/2.163, allocations: 34.25 kB / 1.246 GB, free: 364 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 3.847e-06/2.163, allocations: 0 / 1.246 GB, free: 364 kB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.00107/2.164, allocations: 300.1 kB / 1.246 GB, free: 32 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/2.164, allocations: 111.1 kB / 1.246 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/2.164, allocations: 105.1 kB / 1.246 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/2.164, allocations: 29.64 kB / 1.246 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.358e-05/2.165, allocations: 80.14 kB / 1.246 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/2.165, allocations: 34.73 kB / 1.246 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/2.165, allocations: 0 / 1.246 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001635/2.165, allocations: 322.2 kB / 1.246 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/2.165, allocations: 8 kB / 1.246 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/2.165, allocations: 60.52 kB / 1.247 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/2.165, allocations: 23.3 kB / 1.247 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/2.165, allocations: 0 / 1.247 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003066/2.165, allocations: 96.08 kB / 1.247 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.089e-05/2.166, allocations: 9.562 kB / 1.247 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/2.166, allocations: 0 / 1.247 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/2.166, allocations: 4 kB / 1.247 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/2.166, allocations: 19.94 kB / 1.247 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/2.166, allocations: 0 / 1.247 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.805e-05/2.166, allocations: 7.906 kB / 1.247 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/2.166, allocations: 4 kB / 1.247 GB, free: 15.1 MB / 0.7605 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/2.166, allocations: 124.2 kB / 1.247 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/2.166, allocations: 8.094 kB / 1.247 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/2.166, allocations: 7.438 kB / 1.247 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/2.166, allocations: 0.6094 kB / 1.247 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/2.166, allocations: 4 kB / 1.247 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/2.166, allocations: 0 / 1.247 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000787/2.167, allocations: 184.5 kB / 1.247 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/2.167, allocations: 0 / 1.247 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/2.168, allocations: 23.92 kB / 1.247 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/2.168, allocations: 0 / 1.247 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/2.168, allocations: 0 / 1.247 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/2.168, allocations: 8 kB / 1.247 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/2.168, allocations: 0 / 1.247 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/2.168, allocations: 336 kB / 1.247 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/2.168, allocations: 81.11 kB / 1.247 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/2.168, allocations: 3.938 kB / 1.247 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/2.169, allocations: 11.84 kB / 1.247 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/2.169, allocations: 12 kB / 1.247 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/2.169, allocations: 4 kB / 1.247 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 6.36e-05/2.169, allocations: 82.64 kB / 1.248 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.71e-07/2.169, allocations: 0 / 1.248 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007726/2.17, allocations: 12 kB / 1.248 GB, free: 14.16 MB / 0.7605 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 (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.0002753/2.17, allocations: 114.8 kB / 1.248 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000226/2.17, allocations: 43.11 kB / 1.248 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/2.17, allocations: 0 / 1.248 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.864e-05/2.17, allocations: 23.36 kB / 1.248 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/2.171, allocations: 7.312 kB / 1.248 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/2.173, allocations: 398.3 kB / 1.248 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/2.173, allocations: 0.6898 MB / 1.249 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001349/2.173, allocations: 7.984 kB / 1.249 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.145e-05/2.173, allocations: 19.38 kB / 1.249 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of SimCode: time 1.112e-06/2.173, allocations: 0 / 1.249 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of Templates: time 0.00526/2.178, allocations: 0.5893 MB / 1.249 GB, free: 12.28 MB / 0.7605 GB make -j1 -f Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)