Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [/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.2392/0.2417, allocations: 80.83 MB / 0.6707 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006859/0.2486, allocations: 4.03 MB / 0.6746 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.2517, allocations: 2.399 MB / 0.6769 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2518, allocations: 4 kB / 0.6769 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.2522, allocations: 43.67 kB / 0.677 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003455/0.2526, allocations: 103.3 kB / 0.6771 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.2543, allocations: 0.5085 MB / 0.6776 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003904/0.2547, allocations: 251.9 kB / 0.6778 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.666e-05/0.2548, allocations: 13.55 kB / 0.6778 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.255, allocations: 115.5 kB / 0.6779 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.2552, allocations: 103.6 kB / 0.678 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.2552, allocations: 8 kB / 0.678 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009453/0.2562, allocations: 431.3 kB / 0.6785 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.2563, allocations: 35.89 kB / 0.6785 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.2565, allocations: 91.58 kB / 0.6786 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000753/0.2572, allocations: 394.8 kB / 0.679 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.2572, allocations: 0 / 0.679 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.2572, allocations: 4 kB / 0.679 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.2573, allocations: 0 / 0.679 GB, free: 9.551 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000887/0.2581, allocations: 0.5025 MB / 0.6795 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.2582, allocations: 12.03 kB / 0.6795 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.2601, allocations: 176.6 kB / 0.6796 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.2604, allocations: 212.1 kB / 0.6798 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.2605, allocations: 8.703 kB / 0.6798 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.2605, allocations: 20.38 kB / 0.6799 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006768/0.2612, allocations: 300.4 kB / 0.6801 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2612, allocations: 3.938 kB / 0.6802 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.293e-05/0.2613, allocations: 8 kB / 0.6802 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.2613, allocations: 8 kB / 0.6802 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00069/0.262, allocations: 259.6 kB / 0.6804 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.2637, allocations: 1.393 MB / 0.6818 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006879/0.2644, allocations: 190.5 kB / 0.682 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.2646, allocations: 80.81 kB / 0.682 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.2647, allocations: 7.984 kB / 0.682 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.2647, allocations: 34.56 kB / 0.6821 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.532e-06/0.2647, allocations: 0 / 0.6821 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.0008436/0.2655, allocations: 246 kB / 0.6823 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.2656, allocations: 59.41 kB / 0.6824 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.2658, allocations: 163.1 kB / 0.6825 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.2658, allocations: 25.7 kB / 0.6825 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.266, allocations: 124.3 kB / 0.6827 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.266, allocations: 67.42 kB / 0.6827 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.133e-05/0.2661, allocations: 45.94 kB / 0.6828 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2663, allocations: 330.8 kB / 0.6831 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002102/0.2665, allocations: 60.42 kB / 0.6831 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.2668, allocations: 146.2 kB / 0.6833 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/0.2673, allocations: 232.5 kB / 0.6835 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2673, allocations: 0 / 0.6835 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005934/0.2679, allocations: 253.1 kB / 0.6837 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2679, allocations: 4 kB / 0.6838 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2679, allocations: 4 kB / 0.6838 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.268, allocations: 7.938 kB / 0.6838 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.2683, allocations: 63.89 kB / 0.6838 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.476e-05/0.2683, allocations: 8.312 kB / 0.6838 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.2686, allocations: 39.7 kB / 0.6839 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.339e-05/0.2686, allocations: 8 kB / 0.6839 GB, free: 4.129 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001579/0.2688, allocations: 137.6 kB / 0.684 GB, free: 3.984 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.2688, allocations: 19.91 kB / 0.684 GB, free: 3.965 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006401/0.2695, allocations: 222.1 kB / 0.6842 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2695, allocations: 7.984 kB / 0.6842 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2695, allocations: 4 kB / 0.6842 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.2695, allocations: 0 / 0.6842 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002891/0.2698, allocations: 245.3 kB / 0.6845 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2698, allocations: 8 kB / 0.6845 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.2701, allocations: 47.95 kB / 0.6845 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2701, allocations: 0 / 0.6845 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.2701, allocations: 4 kB / 0.6845 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2701, allocations: 0 / 0.6845 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2702, allocations: 0 / 0.6845 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/0.2707, allocations: 307.2 kB / 0.6848 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2708, allocations: 101 kB / 0.6849 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.2709, allocations: 4 kB / 0.6849 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.2711, allocations: 15.98 kB / 0.6849 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.2711, allocations: 7.984 kB / 0.685 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/0.2712, allocations: 16 kB / 0.685 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.849e-05/0.2713, allocations: 112.9 kB / 0.6851 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2713, allocations: 0 / 0.6851 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003611/0.2716, allocations: 63.89 kB / 0.6851 GB, free: 2.738 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (20): * Single equations (assignments): 20 * 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.0002289/0.2719, allocations: 127.2 kB / 0.6853 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005274/0.2724, allocations: 179.7 kB / 0.6854 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.2724, allocations: 4.625 kB / 0.6854 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002173/0.2727, allocations: 91.81 kB / 0.6855 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.2731, allocations: 59.83 kB / 0.6856 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009473/0.2741, allocations: 414.9 kB / 0.686 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.2745, allocations: 0.7095 MB / 0.6867 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002505/0.2747, allocations: 49.92 kB / 0.6867 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.2748, allocations: 27.42 kB / 0.6867 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of SimCode: time 4.2e-07/0.2748, allocations: 4 kB / 0.6867 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of Templates: time 0.006974/0.2818, allocations: 3.319 MB / 0.69 GB, free: 13.78 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)