Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.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.MassFraction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",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.636/1.636, allocations: 285.4 MB / 298 MB, free: 5.98 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.001172/0.001172, allocations: 180.8 kB / 366.4 MB, free: 2.09 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.638/1.638, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.00102/0.00102, allocations: 96.25 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.661e-05, allocations: 4 kB / 0.8584 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7041/0.7042, allocations: 115.3 MB / 0.971 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.575/5.279, allocations: 2.083 GB / 3.054 GB, free: 10.47 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/5.279, allocations: 90.5 kB / 3.054 GB, free: 10.42 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.217/7.497, allocations: 481.1 MB / 3.524 GB, free: 232.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.064e-06/7.497, allocations: 0 / 3.524 GB, free: 232.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.28e-05/7.497, allocations: 18.94 kB / 3.524 GB, free: 232.8 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.002187/7.499, allocations: 0.9892 MB / 3.525 GB, free: 232.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/7.499, allocations: 7.375 kB / 3.525 GB, free: 232.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/7.499, allocations: 96.39 kB / 3.525 GB, free: 232.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/7.5, allocations: 214.4 kB / 3.526 GB, free: 232.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002026/7.502, allocations: 0.8944 MB / 3.527 GB, free: 232 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/7.502, allocations: 47.19 kB / 3.527 GB, free: 232 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.371e-05/7.503, allocations: 54.28 kB / 3.527 GB, free: 232 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/7.504, allocations: 0.5829 MB / 3.527 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/7.504, allocations: 2.219 kB / 3.527 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/7.504, allocations: 21.83 kB / 3.527 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/7.504, allocations: 19.72 kB / 3.527 GB, free: 231.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006883/7.504, allocations: 466.5 kB / 3.528 GB, free: 231.9 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.002783/7.507, allocations: 2.396 MB / 3.53 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/7.508, allocations: 322.9 kB / 3.53 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000263/7.508, allocations: 201.8 kB / 3.53 GB, free: 230.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004732/7.508, allocations: 303.5 kB / 3.531 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/7.508, allocations: 40.92 kB / 3.531 GB, free: 230.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.435e-06/7.508, allocations: 3 kB / 3.531 GB, free: 230.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.0009337/7.509, allocations: 413.8 kB / 3.531 GB, free: 230.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/7.509, allocations: 53.84 kB / 3.531 GB, free: 230.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005138/7.51, allocations: 436.9 kB / 3.532 GB, free: 230 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/7.51, allocations: 33.39 kB / 3.532 GB, free: 230 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/7.51, allocations: 319.3 kB / 3.532 GB, free: 229.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/7.51, allocations: 132.2 kB / 3.532 GB, free: 229.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/7.51, allocations: 7.781 kB / 3.532 GB, free: 229.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001191/7.51, allocations: 362.1 kB / 3.533 GB, free: 229.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/7.511, allocations: 140 kB / 3.533 GB, free: 229.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/7.511, allocations: 284.7 kB / 3.533 GB, free: 229.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/7.511, allocations: 180.1 kB / 3.533 GB, free: 229.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/7.511, allocations: 0 / 3.533 GB, free: 229.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006842/7.512, allocations: 477.3 kB / 3.534 GB, free: 229.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/7.512, allocations: 0.8751 MB / 3.534 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/7.512, allocations: 3.312 kB / 3.534 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/7.512, allocations: 3.625 kB / 3.534 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000559/7.513, allocations: 92.89 kB / 3.534 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003532/7.513, allocations: 0.6035 MB / 3.535 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/7.514, allocations: 75.05 kB / 3.535 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.346e-05/7.514, allocations: 20.08 kB / 3.535 GB, free: 227.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/7.514, allocations: 3 kB / 3.535 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006414/7.515, allocations: 394.9 kB / 3.536 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/7.515, allocations: 0 / 3.536 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/7.515, allocations: 6.594 kB / 3.536 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003495/7.515, allocations: 90.11 kB / 3.536 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/7.515, allocations: 6.062 kB / 3.536 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005003/7.516, allocations: 67.5 kB / 3.536 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/7.516, allocations: 26.3 kB / 3.536 GB, free: 227.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 (49): * Single equations (assignments): 48 * 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.0001663/7.516, allocations: 132.6 kB / 3.536 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/7.516, allocations: 56.59 kB / 3.536 GB, free: 227.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007884/7.517, allocations: 436.8 kB / 3.536 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/7.517, allocations: 3.312 kB / 3.536 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/7.517, allocations: 3.391 kB / 3.536 GB, free: 227.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005472/7.517, allocations: 0.6477 MB / 3.537 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/7.519, allocations: 1.195 MB / 3.538 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/7.519, allocations: 3.938 kB / 3.538 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/7.52, allocations: 90.52 kB / 3.538 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/7.52, allocations: 6.938 kB / 3.538 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/7.52, allocations: 17.98 kB / 3.538 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002539/7.52, allocations: 0.5884 MB / 3.539 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/7.52, allocations: 0 / 3.539 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000896/7.521, allocations: 0.8121 MB / 3.54 GB, free: 225.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/7.521, allocations: 179.4 kB / 3.54 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.259e-05/7.521, allocations: 10.62 kB / 3.54 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004633/7.522, allocations: 33.12 kB / 3.54 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/7.522, allocations: 35.41 kB / 3.54 GB, free: 225.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/7.522, allocations: 17.09 kB / 3.54 GB, free: 225.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004081/7.522, allocations: 351.4 kB / 3.54 GB, free: 225.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/7.522, allocations: 0 / 3.54 GB, free: 225.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001754/7.524, allocations: 478 kB / 3.541 GB, free: 225.5 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],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.003225/7.527, allocations: 3.099 MB / 3.544 GB, free: 223.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001106/7.528, allocations: 0.5774 MB / 3.544 GB, free: 223.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/7.528, allocations: 0 / 3.544 GB, free: 223.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/7.529, allocations: 189.6 kB / 3.544 GB, free: 223.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/7.53, allocations: 369.7 kB / 3.545 GB, free: 223.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/7.532, allocations: 1.245 MB / 3.546 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/7.533, allocations: 0.9593 MB / 3.547 GB, free: 222.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001009/7.534, allocations: 253.2 kB / 3.547 GB, free: 222.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/7.534, allocations: 206 kB / 3.547 GB, free: 222.8 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/7.534, allocations: 7.812 kB / 3.547 GB, free: 222.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07296/7.607, allocations: 42.39 MB / 3.589 GB, free: 214.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/7.607, allocations: 225.1 kB / 3.589 GB, free: 214.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.391/11, allocations: 3.938 kB / 3.589 GB, free: 214.6 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)