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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8285/0.8285, allocations: 132.4 MB / 139.7 MB, free: 15.56 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.001391/0.001391, allocations: 171.8 kB / 171.6 MB, free: 1.969 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.694/1.694, allocations: 170.5 MB / 373.9 MB, free: 15.86 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.00194/0.00194, allocations: 104 kB / 444.4 MB, free: 9.41 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.4882/0.4883, allocations: 73.4 MB / 0.666 GB, free: 62.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.803/5.292, allocations: 2.138 GB / 2.804 GB, free: 54.04 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/5.292, allocations: 87.95 kB / 2.804 GB, free: 53.96 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.754/7.046, allocations: 421.1 MB / 3.216 GB, free: 117.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000174/7.046, allocations: 24.31 kB / 3.216 GB, free: 117.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.004956/7.051, allocations: 1.107 MB / 3.217 GB, free: 117.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.087e-05/7.051, allocations: 9.031 kB / 3.217 GB, free: 117.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004215/7.055, allocations: 286.6 kB / 3.217 GB, free: 117.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/7.059, allocations: 0.6763 MB / 3.218 GB, free: 116.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/7.059, allocations: 21.25 kB / 3.218 GB, free: 116.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004109/7.059, allocations: 42.16 kB / 3.218 GB, free: 116.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002549/7.062, allocations: 0.5899 MB / 3.218 GB, free: 116.5 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002844/7.065, allocations: 0.6787 MB / 3.219 GB, free: 116.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/7.065, allocations: 3.125 kB / 3.219 GB, free: 116.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/7.065, allocations: 5.281 kB / 3.219 GB, free: 116.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.85e-05/7.065, allocations: 23 kB / 3.219 GB, free: 116.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009205/7.074, allocations: 2.601 MB / 3.222 GB, free: 114.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/7.076, allocations: 408.9 kB / 3.222 GB, free: 114.2 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006226/7.076, allocations: 229.8 kB / 3.222 GB, free: 114.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000724/7.077, allocations: 377.2 kB / 3.223 GB, free: 113.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.597e-05/7.077, allocations: 41.25 kB / 3.223 GB, free: 113.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 6.632e-06/7.077, allocations: 0 / 3.223 GB, free: 113.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.00275/7.08, allocations: 0.4932 MB / 3.223 GB, free: 113.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/7.08, allocations: 59.16 kB / 3.223 GB, free: 113.4 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/7.081, allocations: 391 kB / 3.224 GB, free: 113.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/7.081, allocations: 32.31 kB / 3.224 GB, free: 113.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/7.082, allocations: 296.1 kB / 3.224 GB, free: 112.9 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002162/7.082, allocations: 147.4 kB / 3.224 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.55e-05/7.082, allocations: 0 / 3.224 GB, free: 112.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001745/7.082, allocations: 368 kB / 3.224 GB, free: 112.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/7.082, allocations: 161.2 kB / 3.225 GB, free: 112.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/7.083, allocations: 277.3 kB / 3.225 GB, free: 112.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/7.084, allocations: 236 kB / 3.225 GB, free: 112 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/7.084, allocations: 0 / 3.225 GB, free: 112 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001578/7.085, allocations: 0.5277 MB / 3.226 GB, free: 111.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004446/7.086, allocations: 1.052 MB / 3.227 GB, free: 110.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/7.086, allocations: 6.438 kB / 3.227 GB, free: 110.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.884e-05/7.086, allocations: 5.719 kB / 3.227 GB, free: 110.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/7.089, allocations: 365 kB / 3.227 GB, free: 110.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/7.09, allocations: 0.7073 MB / 3.228 GB, free: 109.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/7.092, allocations: 85.59 kB / 3.228 GB, free: 109.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/7.092, allocations: 22.94 kB / 3.228 GB, free: 109.9 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/7.092, allocations: 3.344 kB / 3.228 GB, free: 109.9 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001723/7.094, allocations: 448.4 kB / 3.228 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/7.094, allocations: 2.844 kB / 3.228 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/7.094, allocations: 8.812 kB / 3.228 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009103/7.095, allocations: 115.6 kB / 3.228 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/7.095, allocations: 9.219 kB / 3.228 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001543/7.096, allocations: 72.8 kB / 3.228 GB, free: 109.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.036e-05/7.096, allocations: 19.06 kB / 3.228 GB, free: 109.6 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.0003704/7.097, allocations: 112.3 kB / 3.228 GB, free: 109.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004078/7.097, allocations: 65.22 kB / 3.229 GB, free: 109.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/7.099, allocations: 468.6 kB / 3.229 GB, free: 109.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/7.099, allocations: 8.719 kB / 3.229 GB, free: 109.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/7.099, allocations: 0 / 3.229 GB, free: 109.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001346/7.1, allocations: 0.694 MB / 3.23 GB, free: 108.6 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/7.104, allocations: 1.206 MB / 3.231 GB, free: 107.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/7.104, allocations: 6.25 kB / 3.231 GB, free: 107.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00318/7.108, allocations: 348.3 kB / 3.231 GB, free: 107.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.977e-05/7.108, allocations: 3.938 kB / 3.231 GB, free: 107.6 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/7.108, allocations: 13.47 kB / 3.231 GB, free: 107.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/7.11, allocations: 1.445 MB / 3.233 GB, free: 106.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/7.11, allocations: 2.781 kB / 3.233 GB, free: 106.3 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00189/7.112, allocations: 0.9181 MB / 3.233 GB, free: 105.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005379/7.113, allocations: 204.2 kB / 3.234 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/7.113, allocations: 9.359 kB / 3.234 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008944/7.114, allocations: 57.94 kB / 3.234 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.58e-05/7.114, allocations: 29.28 kB / 3.234 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.509e-05/7.114, allocations: 23.77 kB / 3.234 GB, free: 105.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0004551/7.114, allocations: 317.7 kB / 3.234 GB, free: 105.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001949/7.116, allocations: 497.6 kB / 3.235 GB, free: 105.1 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 41 * 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.002529/7.119, allocations: 1.547 MB / 3.236 GB, free: 104.4 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004164/7.123, allocations: 1.029 MB / 3.237 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.287e-06/7.123, allocations: 4 kB / 3.237 GB, free: 103.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003599/7.127, allocations: 0.7312 MB / 3.238 GB, free: 103.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/7.129, allocations: 338.7 kB / 3.238 GB, free: 102.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/7.131, allocations: 1.184 MB / 3.239 GB, free: 101.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006162/7.132, allocations: 1.057 MB / 3.24 GB, free: 100.6 MB / 0.6198 GB Notification: Performance of SimCode: time 1.864e-06/7.132, allocations: 0 / 3.24 GB, free: 100.6 MB / 0.6198 GB Notification: Performance of Templates: time 0.03535/7.167, allocations: 22.35 MB / 3.262 GB, free: 78.6 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)