Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.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.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7141/0.7141, allocations: 132.3 MB / 144.9 MB, free: 10.7 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.001027/0.001027, allocations: 176.9 kB / 176.9 MB, free: 2.168 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.345/1.345, allocations: 170.5 MB / 379.3 MB, free: 11.93 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.001469/0.001469, allocations: 107.2 kB / 450 MB, free: 5.832 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.5182/0.5183, allocations: 73.39 MB / 0.6736 GB, free: 47.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.572/5.09, allocations: 2.139 GB / 2.813 GB, free: 7.125 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/5.09, allocations: 93.81 kB / 2.813 GB, free: 7.035 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.552/6.642, allocations: 421.4 MB / 3.224 GB, free: 80.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.222e-06/6.642, allocations: 0 / 3.224 GB, free: 80.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.178e-05/6.642, allocations: 23.98 kB / 3.224 GB, free: 80.57 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.002093/6.644, allocations: 1.092 MB / 3.225 GB, free: 79.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/6.644, allocations: 11.97 kB / 3.225 GB, free: 79.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/6.646, allocations: 270.6 kB / 3.226 GB, free: 79.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/6.647, allocations: 0.6532 MB / 3.226 GB, free: 78.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/6.647, allocations: 53.31 kB / 3.226 GB, free: 78.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.69e-05/6.647, allocations: 64 kB / 3.226 GB, free: 78.35 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/6.649, allocations: 0.7574 MB / 3.227 GB, free: 77.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/6.649, allocations: 0 / 3.227 GB, free: 77.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/6.649, allocations: 24 kB / 3.227 GB, free: 77.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/6.649, allocations: 25.31 kB / 3.227 GB, free: 77.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009353/6.65, allocations: 0.6025 MB / 3.228 GB, free: 76.92 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/6.653, allocations: 2.658 MB / 3.23 GB, free: 74.07 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/6.653, allocations: 400.4 kB / 3.231 GB, free: 73.67 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/6.653, allocations: 203.5 kB / 3.231 GB, free: 73.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/6.654, allocations: 121.4 kB / 3.231 GB, free: 73.33 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/6.654, allocations: 38.89 kB / 3.231 GB, free: 73.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 2.134e-06/6.654, allocations: 4 kB / 3.231 GB, free: 73.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.001011/6.655, allocations: 475.2 kB / 3.232 GB, free: 72.81 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/6.655, allocations: 59.34 kB / 3.232 GB, free: 72.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/6.655, allocations: 0.5229 MB / 3.232 GB, free: 72.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.167e-05/6.655, allocations: 41.64 kB / 3.232 GB, free: 72.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/6.655, allocations: 375.9 kB / 3.233 GB, free: 71.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.345e-05/6.656, allocations: 142 kB / 3.233 GB, free: 71.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.093e-05/6.656, allocations: 8 kB / 3.233 GB, free: 71.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.605e-05/6.656, allocations: 370.8 kB / 3.233 GB, free: 71.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/6.656, allocations: 165.1 kB / 3.233 GB, free: 71.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/6.656, allocations: 299.6 kB / 3.234 GB, free: 70.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/6.656, allocations: 209.6 kB / 3.234 GB, free: 70.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/6.656, allocations: 4 kB / 3.234 GB, free: 70.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006836/6.657, allocations: 0.5459 MB / 3.234 GB, free: 70.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002063/6.657, allocations: 1.045 MB / 3.235 GB, free: 68.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/6.657, allocations: 7.984 kB / 3.235 GB, free: 68.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/6.657, allocations: 19.92 kB / 3.235 GB, free: 68.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/6.659, allocations: 319.6 kB / 3.236 GB, free: 68.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005835/6.66, allocations: 0.6602 MB / 3.236 GB, free: 67.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007671/6.66, allocations: 107.4 kB / 3.236 GB, free: 67.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.391e-05/6.66, allocations: 16 kB / 3.236 GB, free: 67.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/6.66, allocations: 7.953 kB / 3.236 GB, free: 67.73 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005735/6.661, allocations: 470 kB / 3.237 GB, free: 67.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/6.661, allocations: 4 kB / 3.237 GB, free: 67.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/6.661, allocations: 4 kB / 3.237 GB, free: 67.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/6.661, allocations: 111.9 kB / 3.237 GB, free: 67.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/6.661, allocations: 15.92 kB / 3.237 GB, free: 67.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/6.662, allocations: 87.77 kB / 3.237 GB, free: 67.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/6.662, allocations: 24 kB / 3.237 GB, free: 67.03 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001576/6.662, allocations: 132.9 kB / 3.237 GB, free: 66.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/6.662, allocations: 71.11 kB / 3.237 GB, free: 66.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006932/6.663, allocations: 460 kB / 3.238 GB, free: 66.36 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/6.663, allocations: 4 kB / 3.238 GB, free: 66.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/6.663, allocations: 0 / 3.238 GB, free: 66.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004941/6.664, allocations: 0.6831 MB / 3.238 GB, free: 65.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001462/6.665, allocations: 1.241 MB / 3.24 GB, free: 64.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/6.665, allocations: 4 kB / 3.24 GB, free: 64.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/6.667, allocations: 319.8 kB / 3.24 GB, free: 63.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/6.667, allocations: 4 kB / 3.24 GB, free: 63.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/6.667, allocations: 11.98 kB / 3.24 GB, free: 63.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/6.668, allocations: 1.454 MB / 3.241 GB, free: 62.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/6.668, allocations: 7.969 kB / 3.241 GB, free: 62.35 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/6.669, allocations: 0.848 MB / 3.242 GB, free: 61.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003452/6.669, allocations: 220.2 kB / 3.242 GB, free: 61.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/6.669, allocations: 12 kB / 3.242 GB, free: 61.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/6.67, allocations: 63.84 kB / 3.242 GB, free: 61.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.018e-05/6.67, allocations: 35.86 kB / 3.242 GB, free: 61.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.447e-05/6.67, allocations: 27.97 kB / 3.242 GB, free: 61.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004333/6.67, allocations: 415.2 kB / 3.243 GB, free: 60.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.6e-07/6.67, allocations: 0 / 3.243 GB, free: 60.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00155/6.672, allocations: 0.5226 MB / 3.243 GB, free: 60.13 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001924/6.674, allocations: 1.373 MB / 3.245 GB, free: 58.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002133/6.676, allocations: 0.8719 MB / 3.246 GB, free: 57.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/6.676, allocations: 0 / 3.246 GB, free: 57.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002259/6.678, allocations: 0.5469 MB / 3.246 GB, free: 57.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/6.68, allocations: 422.2 kB / 3.247 GB, free: 56.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/6.683, allocations: 1.196 MB / 3.248 GB, free: 55.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000439/6.683, allocations: 0.9938 MB / 3.249 GB, free: 54.63 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001076/6.684, allocations: 281.4 kB / 3.249 GB, free: 54.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/6.684, allocations: 51.44 kB / 3.249 GB, free: 54.3 MB / 0.6198 GB Notification: Performance of SimCode: time 3.055e-06/6.684, allocations: 0 / 3.249 GB, free: 54.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.04094/6.725, allocations: 35.01 MB / 3.283 GB, free: 19.36 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)