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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.88/1.88, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001161/0.001161, allocations: 185.6 kB / 371.6 MB, free: 3.402 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.573/1.573, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.001152/0.001152, allocations: 87.98 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.154e-05, allocations: 4 kB / 0.8663 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2679, allocations: 116.3 MB / 0.9799 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.466/6.734, allocations: 2.081 GB / 3.061 GB, free: 115.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/6.734, allocations: 88.89 kB / 3.061 GB, free: 115.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.751/8.485, allocations: 483.2 MB / 3.533 GB, free: 11.38 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.983e-06/8.485, allocations: 7.938 kB / 3.533 GB, free: 11.37 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.916e-05/8.485, allocations: 16 kB / 3.533 GB, free: 11.36 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.002431/8.488, allocations: 1.04 MB / 3.534 GB, free: 10.27 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.879e-05/8.488, allocations: 12.03 kB / 3.534 GB, free: 10.26 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/8.488, allocations: 90.52 kB / 3.534 GB, free: 10.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002023/8.49, allocations: 267.7 kB / 3.534 GB, free: 9.898 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/8.492, allocations: 0.6043 MB / 3.535 GB, free: 9.254 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/8.492, allocations: 41.31 kB / 3.535 GB, free: 9.215 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.579e-05/8.492, allocations: 60.25 kB / 3.535 GB, free: 9.156 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/8.493, allocations: 0.5894 MB / 3.535 GB, free: 8.551 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/8.493, allocations: 0 / 3.535 GB, free: 8.551 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.777e-05/8.493, allocations: 20 kB / 3.535 GB, free: 8.531 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.315e-05/8.493, allocations: 25.31 kB / 3.535 GB, free: 8.504 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/8.494, allocations: 477 kB / 3.536 GB, free: 8.039 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.003033/8.497, allocations: 2.408 MB / 3.538 GB, free: 5.422 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/8.497, allocations: 345.1 kB / 3.539 GB, free: 5.074 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/8.497, allocations: 218.5 kB / 3.539 GB, free: 4.859 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005074/8.498, allocations: 303.6 kB / 3.539 GB, free: 4.508 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/8.498, allocations: 38.89 kB / 3.539 GB, free: 4.461 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 2.284e-06/8.498, allocations: 0 / 3.539 GB, free: 4.461 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.0009003/8.499, allocations: 431.2 kB / 3.54 GB, free: 4.035 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/8.499, allocations: 59.34 kB / 3.54 GB, free: 3.965 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/8.499, allocations: 436.8 kB / 3.54 GB, free: 3.527 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/8.499, allocations: 37.7 kB / 3.54 GB, free: 3.484 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/8.5, allocations: 328.4 kB / 3.54 GB, free: 3.16 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.63e-05/8.5, allocations: 138 kB / 3.54 GB, free: 3.023 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/8.5, allocations: 12 kB / 3.54 GB, free: 3.012 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000101/8.5, allocations: 362.8 kB / 3.541 GB, free: 2.648 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/8.5, allocations: 144.8 kB / 3.541 GB, free: 2.504 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/8.5, allocations: 270.1 kB / 3.541 GB, free: 2.195 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/8.501, allocations: 187.8 kB / 3.541 GB, free: 2.012 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/8.501, allocations: 0 / 3.541 GB, free: 2.012 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006407/8.501, allocations: 496.5 kB / 3.542 GB, free: 1.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001986/8.502, allocations: 0.8743 MB / 3.543 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/8.502, allocations: 4 kB / 3.543 GB, free: 0.5742 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/8.502, allocations: 7.953 kB / 3.543 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006013/8.502, allocations: 111.9 kB / 3.543 GB, free: 468 kB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7901/9.292, allocations: 0.5891 MB / 3.543 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/9.293, allocations: 80.22 kB / 3.544 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-05/9.294, allocations: 20.28 kB / 3.544 GB, free: 176.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/9.294, allocations: 4.719 kB / 3.544 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009067/9.294, allocations: 414.8 kB / 3.544 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/9.295, allocations: 1 kB / 3.544 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/9.295, allocations: 5.375 kB / 3.544 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/9.295, allocations: 105.2 kB / 3.544 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/9.295, allocations: 9.469 kB / 3.544 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/9.296, allocations: 77.77 kB / 3.544 GB, free: 176.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/9.296, allocations: 20.09 kB / 3.544 GB, free: 176.7 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 () * 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.0001937/9.296, allocations: 133.6 kB / 3.544 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/9.296, allocations: 61.8 kB / 3.544 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009727/9.297, allocations: 438.1 kB / 3.545 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/9.297, allocations: 3.719 kB / 3.545 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/9.297, allocations: 0 / 3.545 GB, free: 176.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006219/9.298, allocations: 0.6671 MB / 3.545 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00204/9.3, allocations: 1.234 MB / 3.547 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/9.3, allocations: 2.562 kB / 3.547 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006193/9.3, allocations: 103.5 kB / 3.547 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.36e-05/9.301, allocations: 3.969 kB / 3.547 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/9.301, allocations: 14.84 kB / 3.547 GB, free: 175.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003135/9.301, allocations: 0.6005 MB / 3.547 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/9.301, allocations: 4.656 kB / 3.547 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/9.302, allocations: 0.8428 MB / 3.548 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/9.302, allocations: 176.7 kB / 3.548 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/9.302, allocations: 11.28 kB / 3.548 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/9.303, allocations: 53.55 kB / 3.548 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.798e-05/9.303, allocations: 32.94 kB / 3.548 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/9.303, allocations: 12.75 kB / 3.548 GB, free: 174.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004469/9.303, allocations: 341.5 kB / 3.549 GB, free: 174.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/9.303, allocations: 0 / 3.549 GB, free: 174.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001842/9.305, allocations: 493.1 kB / 3.549 GB, free: 174.6 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 () * 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.00484/9.31, allocations: 3.148 MB / 3.552 GB, free: 173.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001784/9.312, allocations: 0.608 MB / 3.553 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/9.312, allocations: 3.688 kB / 3.553 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004608/9.313, allocations: 200.3 kB / 3.553 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/9.315, allocations: 350.3 kB / 3.553 GB, free: 173 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/9.318, allocations: 1.286 MB / 3.555 GB, free: 172.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000534/9.318, allocations: 0.9564 MB / 3.556 GB, free: 172 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001122/9.319, allocations: 254.8 kB / 3.556 GB, free: 172 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/9.32, allocations: 219.5 kB / 3.556 GB, free: 172 MB / 0.948 GB Notification: Performance of SimCode: time 1.993e-06/9.32, allocations: 0 / 3.556 GB, free: 172 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08525/9.405, allocations: 42.64 MB / 3.598 GB, free: 171.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/9.405, allocations: 197.1 kB / 3.598 GB, free: 171.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.77/13.18, allocations: 4.156 kB / 3.598 GB, free: 171.3 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)