Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.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.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation") [/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.208/0.21, allocations: 80.83 MB / 0.5897 GB, free: 7.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation): time 0.01714/0.2272, allocations: 15.21 MB / 0.6045 GB, free: 7.855 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.2305, allocations: 2.14 MB / 0.6066 GB, free: 5.711 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002702/0.2308, allocations: 0 / 0.6066 GB, free: 5.711 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007552/0.2316, allocations: 155.2 kB / 0.6068 GB, free: 5.559 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007109/0.2323, allocations: 314.4 kB / 0.6071 GB, free: 5.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008201/0.2332, allocations: 286.2 kB / 0.6073 GB, free: 4.977 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001215/0.2344, allocations: 1.266 MB / 0.6086 GB, free: 3.707 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.2346, allocations: 76.69 kB / 0.6086 GB, free: 3.633 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.2356, allocations: 446.2 kB / 0.6091 GB, free: 3.195 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.236, allocations: 262.9 kB / 0.6093 GB, free: 2.938 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.12e-05/0.2361, allocations: 19.94 kB / 0.6093 GB, free: 2.918 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003745/0.2365, allocations: 115.8 kB / 0.6095 GB, free: 2.805 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.2366, allocations: 75.72 kB / 0.6095 GB, free: 2.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001913/0.2368, allocations: 159.3 kB / 0.6097 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005338/0.2373, allocations: 450.9 kB / 0.6101 GB, free: 2.133 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2373, allocations: 0 / 0.6101 GB, free: 2.133 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.898e-06/0.2373, allocations: 4 kB / 0.6101 GB, free: 2.129 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.2374, allocations: 3.938 kB / 0.6101 GB, free: 2.125 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009474/0.2383, allocations: 0.5731 MB / 0.6107 GB, free: 1.504 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2384, allocations: 8.031 kB / 0.6107 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006372/0.239, allocations: 80.52 kB / 0.6108 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.2394, allocations: 288.2 kB / 0.611 GB, free: 1.098 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.2394, allocations: 20.94 kB / 0.6111 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.257e-05/0.2395, allocations: 24.38 kB / 0.6111 GB, free: 1.055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.2401, allocations: 342.3 kB / 0.6114 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.2401, allocations: 7.844 kB / 0.6114 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.668e-05/0.2401, allocations: 12 kB / 0.6114 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.2402, allocations: 8 kB / 0.6114 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.2407, allocations: 221.5 kB / 0.6116 GB, free: 452 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002006/0.2427, allocations: 1.686 MB / 0.6133 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000398/0.2431, allocations: 190.5 kB / 0.6135 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.2433, allocations: 88.77 kB / 0.6136 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.2433, allocations: 4 kB / 0.6136 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.2433, allocations: 34.56 kB / 0.6136 GB, free: 14.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=21): time 1.583e-06/0.2433, allocations: 0 / 0.6136 GB, free: 14.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=27): time 0.003937/0.2473, allocations: 1.255 MB / 0.6148 GB, free: 12.95 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.2473, allocations: 59.39 kB / 0.6149 GB, free: 12.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.2477, allocations: 266.5 kB / 0.6151 GB, free: 12.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/0.2477, allocations: 29.7 kB / 0.6152 GB, free: 12.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.2478, allocations: 180.2 kB / 0.6153 GB, free: 12.38 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.2479, allocations: 90.66 kB / 0.6154 GB, free: 12.29 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.248, allocations: 69.59 kB / 0.6155 GB, free: 12.22 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2481, allocations: 346.8 kB / 0.6158 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.2484, allocations: 103.7 kB / 0.6159 GB, free: 11.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.2488, allocations: 186 kB / 0.6161 GB, free: 11.55 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/0.2493, allocations: 289.3 kB / 0.6164 GB, free: 11.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2493, allocations: 4 kB / 0.6164 GB, free: 11.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001101/0.2504, allocations: 457.5 kB / 0.6168 GB, free: 10.78 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.2504, allocations: 4.312 kB / 0.6168 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.2505, allocations: 8 kB / 0.6168 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005372/0.251, allocations: 132.7 kB / 0.6169 GB, free: 10.63 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.2513, allocations: 59.91 kB / 0.617 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/0.2543, allocations: 2.041 MB / 0.619 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.2547, allocations: 27.98 kB / 0.619 GB, free: 8.367 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.738e-05/0.2547, allocations: 11.98 kB / 0.619 GB, free: 8.355 MB / 478.1 MB 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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002128/0.2549, allocations: 155 kB / 0.6192 GB, free: 8.195 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.255, allocations: 31.66 kB / 0.6192 GB, free: 8.164 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.699e-05/0.2551, allocations: 30.86 kB / 0.6192 GB, free: 8.137 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.2551, allocations: 4 kB / 0.6192 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2551, allocations: 0 / 0.6192 GB, free: 8.133 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001048/0.2562, allocations: 0.637 MB / 0.6199 GB, free: 7.406 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.2577, allocations: 0.8111 MB / 0.6207 GB, free: 6.523 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2577, allocations: 0 / 0.6207 GB, free: 6.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.2579, allocations: 31.98 kB / 0.6207 GB, free: 6.492 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006506/0.2586, allocations: 148.8 kB / 0.6208 GB, free: 6.344 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.2586, allocations: 11.98 kB / 0.6208 GB, free: 6.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.2613, allocations: 1.948 MB / 0.6227 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.2613, allocations: 4.156 kB / 0.6227 GB, free: 4.246 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.2624, allocations: 0.5615 MB / 0.6233 GB, free: 3.652 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.211e-05/0.2625, allocations: 100.8 kB / 0.6234 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.897e-05/0.2626, allocations: 12 kB / 0.6234 GB, free: 3.523 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002974/0.2629, allocations: 19.98 kB / 0.6234 GB, free: 3.504 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.963e-05/0.263, allocations: 31.84 kB / 0.6235 GB, free: 3.473 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.263, allocations: 15.98 kB / 0.6235 GB, free: 3.457 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002463/0.2633, allocations: 194 kB / 0.6237 GB, free: 3.273 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2633, allocations: 0 / 0.6237 GB, free: 3.273 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005694/0.2638, allocations: 100 kB / 0.6237 GB, free: 3.176 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (volume.medium.T) * 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000182/0.264, allocations: 135.2 kB / 0.6239 GB, free: 3.035 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008068/0.2648, allocations: 411.4 kB / 0.6243 GB, free: 2.621 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.2649, allocations: 4 kB / 0.6243 GB, free: 2.617 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006408/0.2655, allocations: 294.7 kB / 0.6246 GB, free: 2.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009074/0.2664, allocations: 161.8 kB / 0.6247 GB, free: 2.168 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.2676, allocations: 0.7695 MB / 0.6255 GB, free: 1.363 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.268, allocations: 0.7611 MB / 0.6262 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.2683, allocations: 50.95 kB / 0.6263 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.554e-05/0.2683, allocations: 31.38 kB / 0.6263 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2683, allocations: 0 / 0.6263 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of Templates: time 0.01084/0.2792, allocations: 6.733 MB / 0.6329 GB, free: 9.855 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.makefile (rm -f Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.sim & ./Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTestImplementation.pipe 2>&1)