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.845/0.845, allocations: 132.4 MB / 139.9 MB, free: 2.824 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001094/0.001094, allocations: 174.7 kB / 171.8 MB, free: 4.934 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.42/1.42, allocations: 170.6 MB / 374.2 MB, free: 200 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001659/0.001659, allocations: 113.6 kB / 444.8 MB, free: 14.17 MB / 314.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.1648/0.1649, allocations: 73.42 MB / 0.6666 GB, free: 15.66 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.327/5.492, allocations: 2.138 GB / 2.805 GB, free: 77.14 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/5.492, allocations: 87.95 kB / 2.805 GB, free: 77.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.605/7.097, allocations: 416.3 MB / 3.212 GB, free: 127.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.944e-06/7.097, allocations: 0 / 3.212 GB, free: 127.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.588e-05/7.097, allocations: 22.94 kB / 3.212 GB, free: 127.9 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.00205/7.099, allocations: 1.097 MB / 3.213 GB, free: 127.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/7.099, allocations: 6.938 kB / 3.213 GB, free: 127.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/7.101, allocations: 263.7 kB / 3.213 GB, free: 127.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/7.102, allocations: 0.6515 MB / 3.214 GB, free: 127.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/7.102, allocations: 19.69 kB / 3.214 GB, free: 127.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/7.102, allocations: 49.41 kB / 3.214 GB, free: 127.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008417/7.103, allocations: 0.5346 MB / 3.214 GB, free: 127.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009392/7.104, allocations: 0.6281 MB / 3.215 GB, free: 127 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/7.104, allocations: 0 / 3.215 GB, free: 127 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.25e-05/7.104, allocations: 8.609 kB / 3.215 GB, free: 127 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.797e-05/7.104, allocations: 22.09 kB / 3.215 GB, free: 127 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.002984/7.107, allocations: 2.502 MB / 3.217 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/7.107, allocations: 350.9 kB / 3.218 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/7.108, allocations: 202.4 kB / 3.218 GB, free: 125.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000283/7.108, allocations: 120.9 kB / 3.218 GB, free: 125.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/7.108, allocations: 38.14 kB / 3.218 GB, free: 125.6 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=40): time 1.673e-06/7.108, allocations: 2.781 kB / 3.218 GB, free: 125.6 MB / 0.6198 GB Notification: Performance of matching and sorting (n=40): time 0.0009738/7.109, allocations: 453.3 kB / 3.219 GB, free: 125.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/7.109, allocations: 58.91 kB / 3.219 GB, free: 125.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/7.109, allocations: 402.5 kB / 3.219 GB, free: 125.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/7.11, allocations: 25.7 kB / 3.219 GB, free: 125.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000174/7.11, allocations: 370.5 kB / 3.219 GB, free: 125 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.912e-05/7.11, allocations: 140.2 kB / 3.219 GB, free: 124.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/7.11, allocations: 0 / 3.219 GB, free: 124.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.259e-05/7.11, allocations: 365.8 kB / 3.22 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/7.11, allocations: 155.6 kB / 3.22 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/7.11, allocations: 276.5 kB / 3.22 GB, free: 124.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/7.111, allocations: 231.4 kB / 3.22 GB, free: 124.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/7.111, allocations: 3.688 kB / 3.22 GB, free: 124.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007049/7.111, allocations: 0.5119 MB / 3.221 GB, free: 124 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002151/7.112, allocations: 1.052 MB / 3.222 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/7.112, allocations: 2.219 kB / 3.222 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/7.112, allocations: 11.33 kB / 3.222 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/7.113, allocations: 335.1 kB / 3.222 GB, free: 122.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005832/7.114, allocations: 0.6695 MB / 3.223 GB, free: 122.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/7.115, allocations: 87.55 kB / 3.223 GB, free: 122.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/7.115, allocations: 19.69 kB / 3.223 GB, free: 122.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/7.115, allocations: 3.906 kB / 3.223 GB, free: 122.2 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006395/7.115, allocations: 431.4 kB / 3.223 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/7.115, allocations: 11.42 kB / 3.224 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.263e-06/7.115, allocations: 3.812 kB / 3.224 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/7.116, allocations: 110.6 kB / 3.224 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/7.116, allocations: 13.28 kB / 3.224 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/7.116, allocations: 73 kB / 3.224 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/7.116, allocations: 17.31 kB / 3.224 GB, free: 122.1 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.000172/7.117, allocations: 112.7 kB / 3.224 GB, free: 122 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/7.117, allocations: 59.88 kB / 3.224 GB, free: 121.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/7.118, allocations: 449.3 kB / 3.224 GB, free: 121.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/7.118, allocations: 3.531 kB / 3.224 GB, free: 121.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/7.118, allocations: 7.781 kB / 3.224 GB, free: 121.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000561/7.118, allocations: 0.6751 MB / 3.225 GB, free: 121.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/7.12, allocations: 1.143 MB / 3.226 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/7.12, allocations: 7.969 kB / 3.226 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/7.121, allocations: 313.4 kB / 3.226 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/7.121, allocations: 7.469 kB / 3.226 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/7.121, allocations: 9.859 kB / 3.226 GB, free: 120.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/7.123, allocations: 1.407 MB / 3.228 GB, free: 119.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/7.123, allocations: 7.781 kB / 3.228 GB, free: 119.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009527/7.123, allocations: 0.8268 MB / 3.229 GB, free: 118.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/7.124, allocations: 203.7 kB / 3.229 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.978e-05/7.124, allocations: 7.297 kB / 3.229 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006078/7.124, allocations: 65.55 kB / 3.229 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.143e-05/7.125, allocations: 29.33 kB / 3.229 GB, free: 118.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/7.125, allocations: 26.25 kB / 3.229 GB, free: 118.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003283/7.125, allocations: 305.5 kB / 3.229 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.9e-07/7.125, allocations: 0 / 3.229 GB, free: 118.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001561/7.127, allocations: 487.4 kB / 3.23 GB, free: 118.3 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.002555/7.129, allocations: 1.545 MB / 3.231 GB, free: 117.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002229/7.131, allocations: 0.8359 MB / 3.232 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/7.131, allocations: 0 / 3.232 GB, free: 117.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00223/7.134, allocations: 0.5396 MB / 3.233 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/7.135, allocations: 344 kB / 3.233 GB, free: 117.5 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/7.137, allocations: 1.146 MB / 3.234 GB, free: 117 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/7.138, allocations: 1.005 MB / 3.235 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0009025/7.139, allocations: 238.1 kB / 3.235 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.678e-05/7.139, allocations: 46.09 kB / 3.235 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of SimCode: time 6.11e-07/7.139, allocations: 0 / 3.235 GB, free: 116.3 MB / 0.6198 GB Notification: Performance of Templates: time 0.02877/7.167, allocations: 20.16 MB / 3.255 GB, free: 108.8 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)