Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.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_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7562/0.7562, allocations: 133.7 MB / 148.6 MB, free: 13.64 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001415/0.001415, allocations: 175 kB / 180.9 MB, free: 15.06 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.635/1.635, allocations: 170.7 MB / 383.7 MB, free: 16.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002015/0.002015, allocations: 103.3 kB / 454.6 MB, free: 9.727 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2223/0.2228, allocations: 73.4 MB / 0.6812 GB, free: 5.527 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.236/1.459, allocations: 315 MB / 0.9888 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/1.459, allocations: 76.39 kB / 0.9889 GB, free: 183.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.01897/1.478, allocations: 8.083 MB / 0.9968 GB, free: 179.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/1.478, allocations: 0 / 0.9968 GB, free: 179.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.283e-06/1.478, allocations: 0 / 0.9968 GB, free: 179.5 MB / 0.6042 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.0004028/1.479, allocations: 358.4 kB / 0.9971 GB, free: 179.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/1.479, allocations: 8.562 kB / 0.9971 GB, free: 179.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/1.479, allocations: 12.2 kB / 0.9971 GB, free: 179.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.757e-05/1.479, allocations: 163.9 kB / 0.9973 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/1.479, allocations: 8.781 kB / 0.9973 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/1.479, allocations: 12.42 kB / 0.9973 GB, free: 178.9 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/1.479, allocations: 63.27 kB / 0.9974 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/1.479, allocations: 7.984 kB / 0.9974 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/1.479, allocations: 4 kB / 0.9974 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/1.479, allocations: 0 / 0.9974 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.172e-05/1.479, allocations: 17.16 kB / 0.9974 GB, free: 178.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/1.48, allocations: 462.5 kB / 0.9979 GB, free: 178.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/1.48, allocations: 75.77 kB / 0.9979 GB, free: 178.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/1.48, allocations: 0.75 kB / 0.9979 GB, free: 178.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/1.48, allocations: 47.11 kB / 0.998 GB, free: 178.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/1.48, allocations: 4 kB / 0.998 GB, free: 178.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006706/1.481, allocations: 300.9 kB / 0.9983 GB, free: 177.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/1.481, allocations: 103.7 kB / 0.9984 GB, free: 177.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.147e-05/1.481, allocations: 94.64 kB / 0.9984 GB, free: 177.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/1.481, allocations: 26.5 kB / 0.9985 GB, free: 177.5 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.692e-05/1.481, allocations: 92.3 kB / 0.9986 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/1.481, allocations: 27.08 kB / 0.9986 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/1.481, allocations: 0 / 0.9986 GB, free: 177.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/1.481, allocations: 320.7 kB / 0.9989 GB, free: 177.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.748e-05/1.481, allocations: 9.781 kB / 0.9989 GB, free: 177.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.017e-05/1.481, allocations: 52.94 kB / 0.999 GB, free: 177 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.224e-05/1.481, allocations: 24.97 kB / 0.999 GB, free: 177 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/1.481, allocations: 0 / 0.999 GB, free: 177 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001437/1.482, allocations: 100.8 kB / 0.9991 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/1.482, allocations: 9.922 kB / 0.9991 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/1.482, allocations: 0 / 0.9991 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/1.482, allocations: 4 kB / 0.9991 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.072e-05/1.482, allocations: 19.03 kB / 0.9991 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.482, allocations: 5.328 kB / 0.9991 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.008e-05/1.482, allocations: 4 kB / 0.9991 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/1.482, allocations: 13.3 kB / 0.9991 GB, free: 176.8 MB / 0.6042 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 8.602e-05/1.482, allocations: 114.5 kB / 0.9992 GB, free: 176.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.576e-05/1.482, allocations: 7.953 kB / 0.9992 GB, free: 176.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/1.482, allocations: 8.359 kB / 0.9993 GB, free: 176.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.482, allocations: 1.125 kB / 0.9993 GB, free: 176.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.482, allocations: 4 kB / 0.9993 GB, free: 176.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.482, allocations: 7.984 kB / 0.9993 GB, free: 176.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/1.482, allocations: 169.7 kB / 0.9994 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/1.482, allocations: 5.375 kB / 0.9994 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.773e-05/1.482, allocations: 18.34 kB / 0.9994 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/1.482, allocations: 3.953 kB / 0.9995 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/1.482, allocations: 4 kB / 0.9995 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.482, allocations: 8.594 kB / 0.9995 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/1.482, allocations: 0 / 0.9995 GB, free: 176.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/1.483, allocations: 352.3 kB / 0.9998 GB, free: 176.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/1.483, allocations: 83.5 kB / 0.9999 GB, free: 176 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/1.483, allocations: 4.938 kB / 0.9999 GB, free: 176 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/1.483, allocations: 0.8906 kB / 0.9999 GB, free: 176 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/1.483, allocations: 5.922 kB / 0.9999 GB, free: 176 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/1.483, allocations: 8 kB / 0.9999 GB, free: 176 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.518e-05/1.483, allocations: 84.25 kB / 1 GB, free: 175.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/1.483, allocations: 0 / 1 GB, free: 175.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000295/1.483, allocations: 17.03 kB / 1 GB, free: 175.9 MB / 0.6042 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.000165/1.484, allocations: 112.2 kB / 1 GB, free: 175.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001449/1.484, allocations: 40.67 kB / 1 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.484, allocations: 8.188 kB / 1 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.167e-05/1.484, allocations: 21.91 kB / 1 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/1.484, allocations: 12.22 kB / 1 GB, free: 175.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007367/1.485, allocations: 408.4 kB / 1.001 GB, free: 175.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/1.485, allocations: 0.6857 MB / 1.001 GB, free: 174.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.319e-05/1.485, allocations: 13.44 kB / 1.001 GB, free: 174.6 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.282e-05/1.485, allocations: 11.44 kB / 1.001 GB, free: 174.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.6e-07/1.485, allocations: 0 / 1.001 GB, free: 174.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.003138/1.488, allocations: 0.5959 MB / 1.002 GB, free: 174.3 MB / 0.6042 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1)