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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 293 MB / 309 MB, free: 4.793 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.001006/0.001006, allocations: 188 kB / 378.7 MB, free: 1.012 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.686/1.686, allocations: 205.4 MB / 0.6383 GB, free: 8.223 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.0008614/0.0008613, allocations: 89.97 kB / 0.7527 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004004, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2527, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.909/5.162, allocations: 2.081 GB / 3.072 GB, free: 135 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/5.162, allocations: 96.56 kB / 3.072 GB, free: 134.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.582/6.744, allocations: 482.6 MB / 3.543 GB, free: 23.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.304e-06/6.744, allocations: 0 / 3.543 GB, free: 23.48 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001093/6.744, allocations: 23.98 kB / 3.543 GB, free: 23.46 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.002995/6.747, allocations: 1.138 MB / 3.544 GB, free: 22.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/6.748, allocations: 8.031 kB / 3.544 GB, free: 22.26 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/6.75, allocations: 279.6 kB / 3.544 GB, free: 21.98 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/6.751, allocations: 0.6158 MB / 3.545 GB, free: 21.32 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/6.751, allocations: 41.69 kB / 3.545 GB, free: 21.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/6.751, allocations: 56.38 kB / 3.545 GB, free: 21.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/6.752, allocations: 0.625 MB / 3.546 GB, free: 20.59 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/6.753, allocations: 3.938 kB / 3.546 GB, free: 20.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.626e-05/6.753, allocations: 20 kB / 3.546 GB, free: 20.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.787e-05/6.753, allocations: 17.31 kB / 3.546 GB, free: 20.55 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008851/6.754, allocations: 0.5009 MB / 3.546 GB, free: 20.05 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.002937/6.756, allocations: 2.432 MB / 3.549 GB, free: 17.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/6.757, allocations: 375.7 kB / 3.549 GB, free: 17.03 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/6.757, allocations: 226.2 kB / 3.549 GB, free: 16.81 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004272/6.758, allocations: 303.6 kB / 3.549 GB, free: 16.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/6.758, allocations: 38.89 kB / 3.55 GB, free: 16.41 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 2.735e-06/6.758, allocations: 0 / 3.55 GB, free: 16.41 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.001244/6.759, allocations: 0.6124 MB / 3.55 GB, free: 15.79 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/6.759, allocations: 59.34 kB / 3.55 GB, free: 15.72 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/6.76, allocations: 0.491 MB / 3.551 GB, free: 15.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.48e-05/6.76, allocations: 37.7 kB / 3.551 GB, free: 15.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/6.76, allocations: 332.4 kB / 3.551 GB, free: 14.85 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.533e-05/6.76, allocations: 134 kB / 3.551 GB, free: 14.71 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.882e-05/6.76, allocations: 8 kB / 3.551 GB, free: 14.71 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.018e-05/6.76, allocations: 362.8 kB / 3.551 GB, free: 14.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/6.76, allocations: 164.8 kB / 3.552 GB, free: 14.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/6.761, allocations: 294.7 kB / 3.552 GB, free: 13.85 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005884/6.761, allocations: 448.3 kB / 3.552 GB, free: 13.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/6.761, allocations: 0 / 3.552 GB, free: 13.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007778/6.762, allocations: 0.5278 MB / 3.553 GB, free: 12.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/6.762, allocations: 153 kB / 3.553 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/6.762, allocations: 8 kB / 3.553 GB, free: 12.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/6.762, allocations: 7.938 kB / 3.553 GB, free: 12.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/6.763, allocations: 127.8 kB / 3.553 GB, free: 12.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002704/6.763, allocations: 0.586 MB / 3.554 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006554/6.764, allocations: 79.64 kB / 3.554 GB, free: 11.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.393e-05/6.764, allocations: 24 kB / 3.554 GB, free: 11.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/6.764, allocations: 4 kB / 3.554 GB, free: 11.81 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006914/6.765, allocations: 447.7 kB / 3.554 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/6.765, allocations: 4 kB / 3.554 GB, free: 11.37 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/6.765, allocations: 4 kB / 3.554 GB, free: 11.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/6.765, allocations: 111.8 kB / 3.554 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/6.765, allocations: 7.938 kB / 3.554 GB, free: 11.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/6.766, allocations: 83.55 kB / 3.554 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/6.766, allocations: 16 kB / 3.554 GB, free: 11.15 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.0003679/6.766, allocations: 310.3 kB / 3.555 GB, free: 10.84 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.975e-05/6.766, allocations: 55.34 kB / 3.555 GB, free: 10.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007651/6.767, allocations: 478.7 kB / 3.555 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/6.767, allocations: 4 kB / 3.555 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/6.767, allocations: 0 / 3.555 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006164/6.768, allocations: 0.7082 MB / 3.556 GB, free: 9.508 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001751/6.769, allocations: 1.269 MB / 3.557 GB, free: 8.164 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/6.769, allocations: 4.219 kB / 3.557 GB, free: 8.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004787/6.77, allocations: 111.9 kB / 3.557 GB, free: 8.051 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.679e-06/6.77, allocations: 7.984 kB / 3.557 GB, free: 8.043 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/6.77, allocations: 12 kB / 3.557 GB, free: 8.031 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001881/6.77, allocations: 0.5898 MB / 3.558 GB, free: 7.418 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/6.77, allocations: 4.125 kB / 3.558 GB, free: 7.414 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009707/6.771, allocations: 0.8212 MB / 3.559 GB, free: 6.551 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002645/6.771, allocations: 180.3 kB / 3.559 GB, free: 6.355 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.765e-05/6.771, allocations: 16 kB / 3.559 GB, free: 6.34 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/6.772, allocations: 55.8 kB / 3.559 GB, free: 6.285 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/6.772, allocations: 31.97 kB / 3.559 GB, free: 6.254 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/6.772, allocations: 15.98 kB / 3.559 GB, free: 6.238 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003467/6.772, allocations: 342.8 kB / 3.559 GB, free: 5.906 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.772, allocations: 0 / 3.559 GB, free: 5.906 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001428/6.774, allocations: 0.4913 MB / 3.56 GB, free: 5.414 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.00206/6.776, allocations: 1.403 MB / 3.561 GB, free: 3.961 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001329/6.777, allocations: 0.6563 MB / 3.562 GB, free: 3.305 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/6.777, allocations: 0 / 3.562 GB, free: 3.305 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003569/6.778, allocations: 233.3 kB / 3.562 GB, free: 3.078 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/6.779, allocations: 364.6 kB / 3.562 GB, free: 2.727 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/6.782, allocations: 1.698 MB / 3.564 GB, free: 0.9805 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/6.782, allocations: 0.95 MB / 3.565 GB, free: 4 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.4867/7.269, allocations: 203.4 kB / 3.565 GB, free: 174.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/7.269, allocations: 48.5 kB / 3.565 GB, free: 174.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.204e-06/7.269, allocations: 0 / 3.565 GB, free: 174.5 MB / 0.948 GB Notification: Performance of Templates: time 0.0495/7.318, allocations: 28.08 MB / 3.593 GB, free: 174.2 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)