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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 288.2 MB / 303.2 MB, free: 8.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.001179/0.001179, allocations: 185.5 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.687/1.687, allocations: 205.4 MB / 0.6305 GB, free: 9.988 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.0009113/0.0009112, allocations: 85.14 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004495, allocations: 16.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2674, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.008/6.276, allocations: 2.08 GB / 3.06 GB, free: 236.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/6.276, allocations: 95.95 kB / 3.06 GB, free: 236.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.727/8.004, allocations: 483.6 MB / 3.532 GB, free: 122.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.484e-06/8.004, allocations: 0 / 3.532 GB, free: 122.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001187/8.004, allocations: 20 kB / 3.532 GB, free: 122.5 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.003642/8.007, allocations: 1.146 MB / 3.533 GB, free: 121.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/8.007, allocations: 8.031 kB / 3.533 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003066/8.008, allocations: 94.52 kB / 3.533 GB, free: 121.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002292/8.01, allocations: 271.1 kB / 3.533 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/8.012, allocations: 0.6068 MB / 3.534 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.534e-05/8.012, allocations: 49.31 kB / 3.534 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/8.012, allocations: 56 kB / 3.534 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/8.013, allocations: 0.6011 MB / 3.535 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/8.013, allocations: 3.984 kB / 3.535 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.918e-05/8.013, allocations: 24 kB / 3.535 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/8.013, allocations: 25.31 kB / 3.535 GB, free: 119.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009351/8.014, 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.003525/8.018, allocations: 2.428 MB / 3.538 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005808/8.018, allocations: 370 kB / 3.538 GB, free: 116 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000505/8.019, allocations: 307.6 kB / 3.538 GB, free: 115.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/8.019, allocations: 38.89 kB / 3.538 GB, free: 115.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 4.208e-06/8.019, allocations: 0 / 3.538 GB, free: 115.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.001418/8.02, allocations: 0.6102 MB / 3.539 GB, free: 114.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/8.02, allocations: 55.41 kB / 3.539 GB, free: 114.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00054/8.021, allocations: 442 kB / 3.539 GB, free: 114.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/8.021, allocations: 41.7 kB / 3.539 GB, free: 114.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/8.021, allocations: 320.4 kB / 3.54 GB, free: 114.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/8.021, allocations: 138 kB / 3.54 GB, free: 113.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.038e-05/8.021, allocations: 12 kB / 3.54 GB, free: 113.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001079/8.022, allocations: 362.8 kB / 3.54 GB, free: 113.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/8.022, allocations: 164.8 kB / 3.54 GB, free: 113.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/8.022, allocations: 293.9 kB / 3.541 GB, free: 113.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003321/8.023, allocations: 216.5 kB / 3.541 GB, free: 112.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/8.023, allocations: 0 / 3.541 GB, free: 112.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008172/8.023, allocations: 0.5202 MB / 3.541 GB, free: 112.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002351/8.024, allocations: 0.873 MB / 3.542 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/8.024, allocations: 4 kB / 3.542 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-05/8.024, allocations: 4 kB / 3.542 GB, free: 111.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/8.024, allocations: 111.8 kB / 3.542 GB, free: 111.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000331/8.025, allocations: 0.5985 MB / 3.543 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007952/8.026, allocations: 83.58 kB / 3.543 GB, free: 110.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/8.026, allocations: 20 kB / 3.543 GB, free: 110.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/8.026, allocations: 4 kB / 3.543 GB, free: 110.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007466/8.026, allocations: 452 kB / 3.543 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/8.026, allocations: 4 kB / 3.543 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.036e-06/8.026, allocations: 4 kB / 3.543 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003969/8.027, allocations: 107.9 kB / 3.544 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/8.027, allocations: 7.938 kB / 3.544 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007186/8.028, allocations: 75.61 kB / 3.544 GB, free: 109.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/8.028, allocations: 23.94 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.0004841/8.028, allocations: 313.5 kB / 3.544 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/8.028, allocations: 59.28 kB / 3.544 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008419/8.029, allocations: 479 kB / 3.544 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/8.029, allocations: 8 kB / 3.544 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/8.029, allocations: 0 / 3.544 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006321/8.03, allocations: 0.7065 MB / 3.545 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/8.032, allocations: 1.263 MB / 3.546 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/8.032, allocations: 4 kB / 3.546 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005507/8.032, allocations: 107.9 kB / 3.547 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/8.032, allocations: 4 kB / 3.547 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/8.033, allocations: 19.98 kB / 3.547 GB, free: 106.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002277/8.033, allocations: 0.5939 MB / 3.547 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/8.033, allocations: 4 kB / 3.547 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/8.034, allocations: 0.8961 MB / 3.548 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/8.034, allocations: 184.3 kB / 3.548 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/8.034, allocations: 12 kB / 3.548 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/8.035, allocations: 51.8 kB / 3.548 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.623e-05/8.035, allocations: 31.97 kB / 3.548 GB, free: 104.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/8.035, allocations: 15.98 kB / 3.548 GB, free: 104.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003995/8.035, allocations: 342.8 kB / 3.549 GB, free: 104.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.3e-07/8.036, allocations: 0 / 3.549 GB, free: 104.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001804/8.037, allocations: 499.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.003783/8.041, allocations: 3.205 MB / 3.552 GB, free: 100.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001437/8.043, allocations: 0.6491 MB / 3.553 GB, free: 100.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/8.043, allocations: 4 kB / 3.553 GB, free: 100.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003915/8.043, allocations: 225.1 kB / 3.553 GB, free: 99.83 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/8.045, allocations: 361.3 kB / 3.553 GB, free: 99.49 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006234/8.051, allocations: 5.124 MB / 3.558 GB, free: 94.25 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/8.052, allocations: 0.9694 MB / 3.559 GB, free: 93.26 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008795/8.052, allocations: 200.9 kB / 3.56 GB, free: 93.06 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003263/8.053, allocations: 223.4 kB / 3.56 GB, free: 92.84 MB / 0.948 GB Notification: Performance of SimCode: time 2.354e-06/8.053, allocations: 0 / 3.56 GB, free: 92.84 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0706/8.123, allocations: 38.15 MB / 3.597 GB, free: 54.92 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/8.124, allocations: 243.9 kB / 3.597 GB, free: 54.68 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.576/11.7, allocations: 0 / 3.597 GB, free: 54.68 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)