Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.365/2.365, allocations: 248.7 MB / 256.2 MB, free: 7.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001467/0.001466, allocations: 181.1 kB / 315.4 MB, free: 4.016 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.3 MB / 0.5662 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 92.77 kB / 0.6704 GB, free: 5.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.1e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2023, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.202/7.404, allocations: 2.202 GB / 3.086 GB, free: 151.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/7.404, allocations: 89.58 kB / 3.086 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.089/9.493, allocations: 462.8 MB / 3.538 GB, free: 36.01 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.174e-06/9.493, allocations: 0 / 3.538 GB, free: 36.01 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.946e-05/9.493, allocations: 23.94 kB / 3.538 GB, free: 35.98 MB / 0.8698 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.002546/9.496, allocations: 0.9892 MB / 3.539 GB, free: 34.95 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/9.496, allocations: 12.03 kB / 3.539 GB, free: 34.94 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001867/9.498, allocations: 194.9 kB / 3.539 GB, free: 34.75 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/9.501, allocations: 0.9034 MB / 3.54 GB, free: 33.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/9.501, allocations: 16 kB / 3.54 GB, free: 33.79 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/9.501, allocations: 36 kB / 3.54 GB, free: 33.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001138/9.503, allocations: 442.7 kB / 3.54 GB, free: 33.32 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/9.504, allocations: 0.5204 MB / 3.541 GB, free: 32.78 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/9.504, allocations: 4 kB / 3.541 GB, free: 32.78 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.812e-05/9.504, allocations: 0 / 3.541 GB, free: 32.78 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.7e-05/9.504, allocations: 17.31 kB / 3.541 GB, free: 32.76 MB / 0.8698 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.003971/9.508, allocations: 2.292 MB / 3.543 GB, free: 30.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000605/9.509, allocations: 303 kB / 3.543 GB, free: 29.97 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003592/9.509, allocations: 188.8 kB / 3.544 GB, free: 29.78 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/9.51, allocations: 307.2 kB / 3.544 GB, free: 29.43 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/9.51, allocations: 34.56 kB / 3.544 GB, free: 29.38 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 4.118e-06/9.51, allocations: 4 kB / 3.544 GB, free: 29.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001497/9.511, allocations: 421.1 kB / 3.544 GB, free: 28.96 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/9.511, allocations: 55.41 kB / 3.544 GB, free: 28.89 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/9.512, allocations: 349.3 kB / 3.545 GB, free: 28.55 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.701e-05/9.512, allocations: 29.7 kB / 3.545 GB, free: 28.51 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/9.512, allocations: 320.3 kB / 3.545 GB, free: 28.19 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/9.512, allocations: 130 kB / 3.545 GB, free: 28.06 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/9.512, allocations: 0 / 3.545 GB, free: 28.06 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001057/9.512, allocations: 362.8 kB / 3.545 GB, free: 27.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/9.513, allocations: 124.8 kB / 3.546 GB, free: 27.58 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000385/9.513, allocations: 262.3 kB / 3.546 GB, free: 27.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/9.514, allocations: 193.5 kB / 3.546 GB, free: 27.08 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/9.514, allocations: 4 kB / 3.546 GB, free: 27.08 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001175/9.515, allocations: 458.7 kB / 3.546 GB, free: 26.62 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002057/9.515, allocations: 0.8771 MB / 3.547 GB, free: 25.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/9.515, allocations: 4 kB / 3.547 GB, free: 25.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/9.515, allocations: 4 kB / 3.547 GB, free: 25.67 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/9.516, allocations: 99.81 kB / 3.547 GB, free: 25.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004239/9.517, allocations: 0.6093 MB / 3.548 GB, free: 24.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/9.518, allocations: 55.73 kB / 3.548 GB, free: 24.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.737e-05/9.518, allocations: 16 kB / 3.548 GB, free: 24.87 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/9.518, allocations: 6.5 kB / 3.548 GB, free: 24.87 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001038/9.519, allocations: 364.2 kB / 3.548 GB, free: 24.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/9.519, allocations: 8.125 kB / 3.548 GB, free: 24.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/9.519, allocations: 11.88 kB / 3.548 GB, free: 24.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006628/9.52, allocations: 87.89 kB / 3.549 GB, free: 24.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/9.52, allocations: 4 kB / 3.549 GB, free: 24.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/9.521, allocations: 55.64 kB / 3.549 GB, free: 24.35 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/9.521, allocations: 19.95 kB / 3.549 GB, free: 24.33 MB / 0.8698 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.0001942/9.521, allocations: 120.8 kB / 3.549 GB, free: 24.2 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001056/9.522, allocations: 376.6 kB / 3.549 GB, free: 23.83 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/9.522, allocations: 51.42 kB / 3.549 GB, free: 23.78 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/9.523, allocations: 420 kB / 3.55 GB, free: 23.36 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/9.523, allocations: 4 kB / 3.55 GB, free: 23.35 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/9.523, allocations: 3.953 kB / 3.55 GB, free: 23.35 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007946/9.524, allocations: 0.6363 MB / 3.55 GB, free: 22.62 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/9.527, allocations: 1.107 MB / 3.551 GB, free: 21.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/9.527, allocations: 3.953 kB / 3.551 GB, free: 21.45 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009258/9.528, allocations: 91.88 kB / 3.551 GB, free: 21.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/9.528, allocations: 4 kB / 3.551 GB, free: 21.36 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.342e-05/9.528, allocations: 11.98 kB / 3.551 GB, free: 21.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000282/9.528, allocations: 0.5901 MB / 3.552 GB, free: 20.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/9.528, allocations: 8.031 kB / 3.552 GB, free: 20.72 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/9.529, allocations: 0.7748 MB / 3.553 GB, free: 19.86 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/9.53, allocations: 188.3 kB / 3.553 GB, free: 19.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/9.53, allocations: 4 kB / 3.553 GB, free: 19.66 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008307/9.531, allocations: 35.91 kB / 3.553 GB, free: 19.62 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.823e-05/9.531, allocations: 27.92 kB / 3.553 GB, free: 19.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.397e-05/9.531, allocations: 15.98 kB / 3.553 GB, free: 19.58 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004499/9.532, allocations: 283 kB / 3.553 GB, free: 19.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.61e-07/9.532, allocations: 0 / 3.553 GB, free: 19.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001777/9.533, allocations: 438.9 kB / 3.554 GB, free: 18.88 MB / 0.8698 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.004199/9.538, allocations: 3.264 MB / 3.557 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001727/9.539, allocations: 0.5343 MB / 3.557 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/9.539, allocations: 0 / 3.557 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004679/9.54, allocations: 176.2 kB / 3.558 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/9.543, allocations: 310.5 kB / 3.558 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003283/9.546, allocations: 1.205 MB / 3.559 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004818/9.547, allocations: 0.9615 MB / 3.56 GB, free: 12.24 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001428/9.548, allocations: 224.5 kB / 3.56 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003946/9.548, allocations: 211.4 kB / 3.56 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of SimCode: time 1.663e-06/9.549, allocations: 0 / 3.56 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7481/10.3, allocations: 25.93 MB / 3.586 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/10.3, allocations: 161.8 kB / 3.586 GB, free: 191.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.998/14.29, allocations: 0 / 3.586 GB, free: 191.2 MB / 0.8698 GB