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.606/1.606, allocations: 285.4 MB / 298 MB, free: 5.934 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.001267/0.001267, allocations: 176.8 kB / 366.4 MB, free: 2.059 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.688/1.688, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0009965/0.0009967, allocations: 99.17 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.937e-05/4.945e-05, allocations: 8 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6765/0.6766, allocations: 115.3 MB / 0.971 GB, free: 77.74 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.16/5.836, allocations: 2.08 GB / 3.051 GB, free: 58.19 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/5.837, allocations: 87.95 kB / 3.051 GB, free: 58.11 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.317/8.153, allocations: 483.2 MB / 3.523 GB, free: 232.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.804e-06/8.153, allocations: 0 / 3.523 GB, free: 232.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.661e-05/8.154, allocations: 20.03 kB / 3.523 GB, free: 232.4 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.002524/8.156, allocations: 1.029 MB / 3.524 GB, free: 232 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/8.156, allocations: 13.25 kB / 3.524 GB, free: 232 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/8.156, allocations: 97.2 kB / 3.524 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/8.158, allocations: 266.6 kB / 3.524 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/8.16, allocations: 0.6067 MB / 3.525 GB, free: 231.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.475e-05/8.16, allocations: 40.75 kB / 3.525 GB, free: 231.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/8.16, allocations: 59.12 kB / 3.525 GB, free: 231.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/8.161, allocations: 0.5885 MB / 3.526 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/8.161, allocations: 0.5156 kB / 3.526 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.668e-05/8.161, allocations: 21.28 kB / 3.526 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.104e-05/8.161, allocations: 22.03 kB / 3.526 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008946/8.162, allocations: 471.2 kB / 3.526 GB, free: 231.6 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.003064/8.165, allocations: 2.419 MB / 3.528 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/8.166, allocations: 351.2 kB / 3.529 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/8.166, allocations: 213 kB / 3.529 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000513/8.167, allocations: 303 kB / 3.529 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/8.167, allocations: 42.7 kB / 3.529 GB, free: 230 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 3.697e-06/8.167, allocations: 2.062 kB / 3.529 GB, free: 230 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.001023/8.168, allocations: 424.4 kB / 3.53 GB, free: 229.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/8.168, allocations: 59.78 kB / 3.53 GB, free: 229.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005897/8.168, allocations: 433 kB / 3.53 GB, free: 229.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/8.168, allocations: 35.58 kB / 3.53 GB, free: 229.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/8.169, allocations: 326.4 kB / 3.53 GB, free: 229.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000136/8.169, allocations: 140.4 kB / 3.531 GB, free: 229.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/8.169, allocations: 8.25 kB / 3.531 GB, free: 229.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001406/8.169, allocations: 363.4 kB / 3.531 GB, free: 229.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/8.169, allocations: 148.4 kB / 3.531 GB, free: 229.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/8.17, allocations: 272.5 kB / 3.531 GB, free: 229 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/8.17, allocations: 187 kB / 3.532 GB, free: 229 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/8.17, allocations: 1.094 kB / 3.532 GB, free: 229 MB / 0.948 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009469/8.171, allocations: 488.4 kB / 3.532 GB, free: 229 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003023/8.171, allocations: 0.8769 MB / 3.533 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/8.171, allocations: 4.969 kB / 3.533 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/8.171, allocations: 5.469 kB / 3.533 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006871/8.172, allocations: 111 kB / 3.533 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003618/8.172, allocations: 0.5998 MB / 3.534 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007583/8.173, allocations: 86.73 kB / 3.534 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/8.173, allocations: 20.39 kB / 3.534 GB, free: 227.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/8.173, allocations: 4.438 kB / 3.534 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007662/8.174, allocations: 410.8 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/8.174, allocations: 5.25 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/8.174, allocations: 4.25 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/8.175, allocations: 105 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/8.175, allocations: 3.531 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005506/8.175, allocations: 78.52 kB / 3.534 GB, free: 227.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.254e-05/8.175, allocations: 21.62 kB / 3.534 GB, free: 227.4 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.0001413/8.175, allocations: 143.1 kB / 3.534 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/8.175, allocations: 59.78 kB / 3.534 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008558/8.176, allocations: 438.6 kB / 3.535 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/8.176, allocations: 3.906 kB / 3.535 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/8.176, allocations: 0 / 3.535 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006641/8.177, allocations: 0.6638 MB / 3.536 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/8.179, allocations: 1.236 MB / 3.537 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/8.179, allocations: 2.938 kB / 3.537 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/8.18, allocations: 109.3 kB / 3.537 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/8.18, allocations: 3.531 kB / 3.537 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.738e-05/8.18, allocations: 14.55 kB / 3.537 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002474/8.18, allocations: 0.5932 MB / 3.537 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/8.18, allocations: 6.531 kB / 3.537 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/8.181, allocations: 0.8415 MB / 3.538 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/8.181, allocations: 170.7 kB / 3.538 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/8.181, allocations: 16.78 kB / 3.538 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/8.182, allocations: 54.69 kB / 3.539 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/8.182, allocations: 25.75 kB / 3.539 GB, free: 225.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/8.182, allocations: 20.55 kB / 3.539 GB, free: 225.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005041/8.183, allocations: 341.1 kB / 3.539 GB, free: 225.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.623e-06/8.183, allocations: 0 / 3.539 GB, free: 225.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002042/8.185, allocations: 496.9 kB / 3.539 GB, free: 225.3 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.004059/8.189, allocations: 3.141 MB / 3.542 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001598/8.19, allocations: 0.6092 MB / 3.543 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/8.19, allocations: 3.25 kB / 3.543 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003942/8.191, allocations: 202.6 kB / 3.543 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/8.193, allocations: 356.4 kB / 3.544 GB, free: 223.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/8.196, allocations: 1.283 MB / 3.545 GB, free: 223.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/8.196, allocations: 0.9566 MB / 3.546 GB, free: 222.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001005/8.197, allocations: 248.8 kB / 3.546 GB, free: 222.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003013/8.198, allocations: 228.3 kB / 3.546 GB, free: 222.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.002e-06/8.198, allocations: 3.906 kB / 3.546 GB, free: 222.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08309/8.281, allocations: 42.64 MB / 3.588 GB, free: 221.1 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/8.281, allocations: 219.7 kB / 3.588 GB, free: 220.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.559/11.84, allocations: 0 / 3.588 GB, free: 220.9 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)