Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.819/1.819, allocations: 292.6 MB / 307.5 MB, free: 5.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 181 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.4 MB / 0.6367 GB, free: 8.555 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000948/0.0009476, allocations: 91.41 kB / 0.751 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005273/0.0005282, allocations: 16 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3104, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.898/6.209, allocations: 2.081 GB / 3.069 GB, free: 100.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/6.209, allocations: 92.45 kB / 3.069 GB, free: 100.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.306/8.516, allocations: 483.7 MB / 3.542 GB, free: 178.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.743e-06/8.516, allocations: 2.75 kB / 3.542 GB, free: 178.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.69e-05/8.516, allocations: 24.5 kB / 3.542 GB, free: 178.9 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002704/8.519, allocations: 1.138 MB / 3.543 GB, free: 178.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/8.519, allocations: 12.12 kB / 3.543 GB, free: 178.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/8.521, allocations: 264.2 kB / 3.543 GB, free: 178.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/8.522, allocations: 0.6136 MB / 3.544 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/8.522, allocations: 37.69 kB / 3.544 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/8.522, allocations: 60.19 kB / 3.544 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/8.523, allocations: 0.6079 MB / 3.544 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/8.523, allocations: 1.906 kB / 3.544 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/8.523, allocations: 23.16 kB / 3.544 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-05/8.523, allocations: 20.66 kB / 3.545 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000999/8.524, allocations: 0.503 MB / 3.545 GB, free: 178.1 MB / 0.948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003437/8.528, allocations: 2.421 MB / 3.547 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007259/8.528, allocations: 373.2 kB / 3.548 GB, free: 176.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005595/8.529, allocations: 306.9 kB / 3.548 GB, free: 176.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/8.529, allocations: 38.12 kB / 3.548 GB, free: 176.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 2.725e-06/8.529, allocations: 0.75 kB / 3.548 GB, free: 176.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.001647/8.531, allocations: 0.6086 MB / 3.549 GB, free: 176.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/8.531, allocations: 60.61 kB / 3.549 GB, free: 176.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/8.531, allocations: 440.3 kB / 3.549 GB, free: 176.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/8.532, allocations: 35.86 kB / 3.549 GB, free: 176.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/8.532, allocations: 327.5 kB / 3.549 GB, free: 176.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/8.532, allocations: 139.1 kB / 3.55 GB, free: 176.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.232e-05/8.532, allocations: 11.12 kB / 3.55 GB, free: 176.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000137/8.532, allocations: 365.2 kB / 3.55 GB, free: 175.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/8.532, allocations: 166.1 kB / 3.55 GB, free: 175.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004484/8.533, allocations: 291.9 kB / 3.55 GB, free: 175.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/8.533, allocations: 209.8 kB / 3.551 GB, free: 175.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/8.533, allocations: 1.438 kB / 3.551 GB, free: 175.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001022/8.534, allocations: 0.512 MB / 3.551 GB, free: 175.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002042/8.535, allocations: 0.8778 MB / 3.552 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/8.535, allocations: 2.094 kB / 3.552 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/8.535, allocations: 5.406 kB / 3.552 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006904/8.535, allocations: 115 kB / 3.552 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003149/8.536, allocations: 0.603 MB / 3.553 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007815/8.536, allocations: 81.02 kB / 3.553 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/8.537, allocations: 19.58 kB / 3.553 GB, free: 174.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/8.537, allocations: 7.219 kB / 3.553 GB, free: 174.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008836/8.537, allocations: 456 kB / 3.553 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/8.537, allocations: 2.188 kB / 3.553 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/8.537, allocations: 5.75 kB / 3.553 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004733/8.538, allocations: 104 kB / 3.553 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/8.538, allocations: 7.672 kB / 3.553 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006097/8.539, allocations: 69.17 kB / 3.553 GB, free: 174 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/8.539, allocations: 23.06 kB / 3.553 GB, free: 174 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * 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.0004623/8.539, allocations: 310.4 kB / 3.554 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/8.539, allocations: 60.7 kB / 3.554 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009991/8.54, allocations: 476.6 kB / 3.554 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/8.54, allocations: 4.344 kB / 3.554 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/8.54, allocations: 0.75 kB / 3.554 GB, free: 173.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008081/8.541, allocations: 0.7013 MB / 3.555 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/8.543, allocations: 1.276 MB / 3.556 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/8.544, allocations: 4.688 kB / 3.556 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/8.544, allocations: 109.4 kB / 3.556 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/8.544, allocations: 3.625 kB / 3.556 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/8.544, allocations: 15.19 kB / 3.556 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002347/8.544, allocations: 0.6007 MB / 3.557 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/8.544, allocations: 3.016 kB / 3.557 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/8.546, allocations: 0.8948 MB / 3.558 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/8.546, allocations: 182.9 kB / 3.558 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/8.546, allocations: 12.61 kB / 3.558 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005209/8.547, allocations: 53.75 kB / 3.558 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/8.547, allocations: 26.64 kB / 3.558 GB, free: 171.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/8.547, allocations: 16.16 kB / 3.558 GB, free: 171.9 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005068/8.547, allocations: 342.8 kB / 3.558 GB, free: 171.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.51e-07/8.547, allocations: 3.75 kB / 3.558 GB, free: 171.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001966/8.549, allocations: 497.5 kB / 3.559 GB, free: 171.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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.002463/8.552, allocations: 1.371 MB / 3.56 GB, free: 171.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001672/8.554, allocations: 0.6521 MB / 3.561 GB, free: 171.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/8.554, allocations: 3.062 kB / 3.561 GB, free: 171.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004124/8.554, allocations: 221.6 kB / 3.561 GB, free: 171.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/8.556, allocations: 353.9 kB / 3.561 GB, free: 171.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/8.558, allocations: 1.709 MB / 3.563 GB, free: 170.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/8.559, allocations: 0.9546 MB / 3.564 GB, free: 170 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007676/8.559, allocations: 204.7 kB / 3.564 GB, free: 170 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/8.56, allocations: 57.08 kB / 3.564 GB, free: 170 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/8.56, allocations: 0 / 3.564 GB, free: 170 MB / 0.948 GB Notification: Performance of Templates: time 0.03953/8.599, allocations: 27.64 MB / 3.591 GB, free: 169.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)