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.101/2.101, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 180.7 kB / 325.5 MB, free: 2.891 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.339/2.339, allocations: 205.4 MB / 0.5764 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001156/0.001156, allocations: 97.56 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004886/0.0004887, allocations: 11.62 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2251, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.194/7.42, allocations: 2.201 GB / 3.1 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003371/7.42, allocations: 92.62 kB / 3.1 GB, free: 245.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 2.201/9.621, allocations: 468.7 MB / 3.558 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.975e-06/9.621, allocations: 0 / 3.558 GB, free: 208.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.719e-05/9.622, allocations: 25.06 kB / 3.558 GB, free: 208.7 MB / 0.8855 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.003758/9.625, allocations: 1.097 MB / 3.559 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/9.625, allocations: 6.938 kB / 3.559 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003666/9.626, allocations: 99.97 kB / 3.559 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001951/9.628, allocations: 199.5 kB / 3.56 GB, free: 207.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003365/9.631, allocations: 0.9109 MB / 3.56 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/9.631, allocations: 43.31 kB / 3.56 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/9.631, allocations: 59.5 kB / 3.56 GB, free: 207.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/9.633, allocations: 0.5985 MB / 3.561 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/9.633, allocations: 0 / 3.561 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.11e-05/9.633, allocations: 19.38 kB / 3.561 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/9.633, allocations: 24.39 kB / 3.561 GB, free: 206.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/9.634, allocations: 479.3 kB / 3.562 GB, free: 206.4 MB / 0.8855 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.004159/9.638, allocations: 2.411 MB / 3.564 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/9.639, allocations: 318 kB / 3.564 GB, free: 203.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007125/9.64, allocations: 304.9 kB / 3.565 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/9.64, allocations: 38.56 kB / 3.565 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 2.625e-06/9.64, allocations: 0 / 3.565 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.001743/9.642, allocations: 0.5316 MB / 3.565 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/9.642, allocations: 55.41 kB / 3.565 GB, free: 202.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/9.643, allocations: 446 kB / 3.566 GB, free: 202 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/9.643, allocations: 37.7 kB / 3.566 GB, free: 202 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/9.643, allocations: 316.5 kB / 3.566 GB, free: 201.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/9.643, allocations: 125.5 kB / 3.566 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/9.643, allocations: 8 kB / 3.566 GB, free: 201.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001129/9.643, allocations: 369.6 kB / 3.566 GB, free: 201.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/9.644, allocations: 136.8 kB / 3.567 GB, free: 201 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/9.644, allocations: 274.6 kB / 3.567 GB, free: 200.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/9.644, allocations: 185.8 kB / 3.567 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.411e-06/9.644, allocations: 0 / 3.567 GB, free: 200.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001174/9.646, allocations: 478.1 kB / 3.567 GB, free: 200.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002096/9.646, allocations: 0.8805 MB / 3.568 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/9.646, allocations: 4 kB / 3.568 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/9.646, allocations: 4 kB / 3.568 GB, free: 199.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009715/9.647, allocations: 95.83 kB / 3.568 GB, free: 199 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004044/9.647, allocations: 0.598 MB / 3.569 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/9.648, allocations: 71.59 kB / 3.569 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/9.649, allocations: 19.94 kB / 3.569 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/9.649, allocations: 7.953 kB / 3.569 GB, free: 198.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000922/9.65, allocations: 391.9 kB / 3.569 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/9.65, allocations: 4.281 kB / 3.569 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/9.65, allocations: 11.98 kB / 3.569 GB, free: 197.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006571/9.65, allocations: 87.84 kB / 3.57 GB, free: 197.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/9.65, allocations: 7.938 kB / 3.57 GB, free: 197.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/9.651, allocations: 65.91 kB / 3.57 GB, free: 197.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-05/9.651, allocations: 20 kB / 3.57 GB, free: 197.7 MB / 0.8855 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 (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.0005224/9.652, allocations: 308.9 kB / 3.57 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/9.652, allocations: 63.2 kB / 3.57 GB, free: 197.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/9.653, allocations: 440.3 kB / 3.57 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/9.653, allocations: 8.094 kB / 3.57 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/9.653, allocations: 3.938 kB / 3.57 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008427/9.654, allocations: 0.6441 MB / 3.571 GB, free: 196.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/9.657, allocations: 1.193 MB / 3.572 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/9.657, allocations: 8 kB / 3.572 GB, free: 194.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000869/9.657, allocations: 94.23 kB / 3.572 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/9.658, allocations: 4 kB / 3.572 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/9.658, allocations: 8 kB / 3.572 GB, free: 194.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002963/9.658, allocations: 0.6016 MB / 3.573 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/9.658, allocations: 16.05 kB / 3.573 GB, free: 194.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001339/9.659, allocations: 0.7931 MB / 3.574 GB, free: 193.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004037/9.66, allocations: 180.4 kB / 3.574 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/9.66, allocations: 15.95 kB / 3.574 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008133/9.661, allocations: 51.8 kB / 3.574 GB, free: 193 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/9.661, allocations: 23.97 kB / 3.574 GB, free: 193 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-05/9.661, allocations: 12 kB / 3.574 GB, free: 193 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005987/9.661, allocations: 354.8 kB / 3.574 GB, free: 192.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.31e-07/9.661, allocations: 0 / 3.574 GB, free: 192.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002021/9.663, allocations: 479.2 kB / 3.575 GB, free: 192.2 MB / 0.8855 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 () * Number of clocked 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.003992/9.667, allocations: 3.107 MB / 3.578 GB, free: 189.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00175/9.669, allocations: 0.5655 MB / 3.578 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/9.669, allocations: 0 / 3.578 GB, free: 188.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004936/9.67, allocations: 180.5 kB / 3.578 GB, free: 188.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/9.673, allocations: 359.3 kB / 3.579 GB, free: 188.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007536/9.68, allocations: 5.006 MB / 3.584 GB, free: 183 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005107/9.681, allocations: 0.9611 MB / 3.585 GB, free: 182 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001247/9.682, allocations: 204.2 kB / 3.585 GB, free: 181.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004241/9.683, allocations: 219.4 kB / 3.585 GB, free: 181.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.102e-06/9.683, allocations: 4 kB / 3.585 GB, free: 181.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09296/9.776, allocations: 37.94 MB / 3.622 GB, free: 144 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/9.776, allocations: 233.9 kB / 3.622 GB, free: 143.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.245/14.02, allocations: 0 / 3.622 GB, free: 143.8 MB / 0.8855 GB