Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.742/1.742, allocations: 288.3 MB / 303.2 MB, free: 8.211 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.00104/0.00104, allocations: 189.8 kB / 371.8 MB, free: 10.25 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.671/1.671, allocations: 205.4 MB / 0.6306 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 105.1 kB / 0.7439 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004533/0.0004533, allocations: 15.97 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2368, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.932/5.169, allocations: 2.08 GB / 3.059 GB, free: 236.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/5.169, allocations: 95.95 kB / 3.06 GB, free: 236.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.598/6.767, allocations: 483.7 MB / 3.532 GB, free: 122.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.125e-06/6.767, allocations: 4 kB / 3.532 GB, free: 122.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001251/6.767, allocations: 23.98 kB / 3.532 GB, free: 122.3 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.003747/6.771, allocations: 1.138 MB / 3.533 GB, free: 121.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/6.771, allocations: 8.031 kB / 3.533 GB, free: 121.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/6.773, allocations: 266.8 kB / 3.533 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/6.775, allocations: 0.611 MB / 3.534 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/6.775, allocations: 45.31 kB / 3.534 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/6.775, allocations: 56 kB / 3.534 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/6.777, allocations: 0.605 MB / 3.535 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/6.777, allocations: 4 kB / 3.535 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/6.777, allocations: 23.98 kB / 3.535 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/6.777, allocations: 17.31 kB / 3.535 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009543/6.778, allocations: 0.497 MB / 3.535 GB, free: 119 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.003497/6.781, allocations: 2.436 MB / 3.537 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005724/6.782, allocations: 363.9 kB / 3.538 GB, free: 116 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005524/6.782, allocations: 303.6 kB / 3.538 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/6.782, allocations: 34.89 kB / 3.538 GB, free: 115.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 3.727e-06/6.782, allocations: 0 / 3.538 GB, free: 115.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.001409/6.784, allocations: 0.6102 MB / 3.539 GB, free: 114.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/6.784, allocations: 59.41 kB / 3.539 GB, free: 114.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/6.784, allocations: 438 kB / 3.539 GB, free: 114.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.785e-05/6.785, allocations: 37.7 kB / 3.539 GB, free: 114.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/6.785, allocations: 324.4 kB / 3.54 GB, free: 114.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/6.785, allocations: 134 kB / 3.54 GB, free: 113.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/6.785, allocations: 12 kB / 3.54 GB, free: 113.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/6.785, allocations: 370.7 kB / 3.54 GB, free: 113.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/6.785, allocations: 164.8 kB / 3.54 GB, free: 113.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003676/6.786, allocations: 293.9 kB / 3.54 GB, free: 113.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/6.786, allocations: 208.6 kB / 3.541 GB, free: 112.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/6.786, allocations: 0 / 3.541 GB, free: 112.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008974/6.787, allocations: 0.5279 MB / 3.541 GB, free: 112.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002246/6.787, allocations: 0.8731 MB / 3.542 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/6.787, allocations: 4 kB / 3.542 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/6.787, allocations: 4 kB / 3.542 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/6.788, allocations: 111.8 kB / 3.542 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003248/6.788, allocations: 0.5946 MB / 3.543 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/6.789, allocations: 87.56 kB / 3.543 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/6.789, allocations: 20 kB / 3.543 GB, free: 110.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/6.789, allocations: 4 kB / 3.543 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007123/6.79, allocations: 459.8 kB / 3.543 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/6.79, allocations: 0 / 3.543 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.274e-06/6.79, allocations: 4 kB / 3.543 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/6.79, allocations: 103.8 kB / 3.543 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/6.79, allocations: 8.281 kB / 3.543 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007147/6.791, allocations: 79.55 kB / 3.543 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/6.791, allocations: 16 kB / 3.544 GB, free: 109.9 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.0004499/6.792, allocations: 309.6 kB / 3.544 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/6.792, allocations: 59.3 kB / 3.544 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008527/6.793, allocations: 483 kB / 3.544 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/6.793, allocations: 7.938 kB / 3.544 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/6.793, allocations: 0 / 3.544 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006743/6.793, allocations: 0.7065 MB / 3.545 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/6.795, allocations: 1.27 MB / 3.546 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/6.796, allocations: 4 kB / 3.546 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/6.796, allocations: 107.8 kB / 3.546 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/6.796, allocations: 4 kB / 3.546 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/6.796, allocations: 15.98 kB / 3.546 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000217/6.796, allocations: 0.5939 MB / 3.547 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/6.796, allocations: 4.031 kB / 3.547 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/6.797, allocations: 0.8961 MB / 3.548 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/6.798, allocations: 188.3 kB / 3.548 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.524e-05/6.798, allocations: 12 kB / 3.548 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/6.798, allocations: 55.8 kB / 3.548 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/6.798, allocations: 28.05 kB / 3.548 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/6.798, allocations: 23.98 kB / 3.548 GB, free: 104.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003724/6.799, allocations: 342.8 kB / 3.548 GB, free: 104.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/6.799, allocations: 0 / 3.548 GB, free: 104.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001786/6.801, allocations: 491.2 kB / 3.549 GB, free: 104 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.002543/6.803, allocations: 1.37 MB / 3.55 GB, free: 102.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001517/6.805, allocations: 0.66 MB / 3.551 GB, free: 101.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/6.805, allocations: 0 / 3.551 GB, free: 101.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/6.805, allocations: 220.8 kB / 3.551 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/6.807, allocations: 352.2 kB / 3.551 GB, free: 101.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/6.81, allocations: 1.7 MB / 3.553 GB, free: 99.64 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/6.811, allocations: 0.9655 MB / 3.554 GB, free: 98.64 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009177/6.812, allocations: 212.8 kB / 3.554 GB, free: 98.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/6.812, allocations: 47.44 kB / 3.554 GB, free: 98.39 MB / 0.948 GB Notification: Performance of SimCode: time 2.434e-06/6.812, allocations: 0 / 3.554 GB, free: 98.39 MB / 0.948 GB Notification: Performance of Templates: time 0.04396/6.856, allocations: 27.65 MB / 3.581 GB, free: 70.87 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)