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.2/2.2, allocations: 248.5 MB / 261.1 MB, free: 6.066 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.001597/0.001597, allocations: 192 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.069/2.069, allocations: 205.2 MB / 0.571 GB, free: 11.8 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.001125/0.001124, allocations: 97.42 kB / 0.6754 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.12e-05, allocations: 8 kB / 0.7869 GB, free: 97.81 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2143, allocations: 106.2 MB / 0.8907 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.059/7.274, allocations: 2.201 GB / 3.092 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003741/7.274, allocations: 92.12 kB / 3.092 GB, free: 133.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.13/9.404, allocations: 468.2 MB / 3.549 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.094e-06/9.404, allocations: 0 / 3.549 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.861e-05/9.404, allocations: 16 kB / 3.549 GB, free: 7.664 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.002541/9.407, allocations: 0.9932 MB / 3.55 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/9.407, allocations: 11.97 kB / 3.55 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/9.407, allocations: 98.5 kB / 3.551 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/9.409, allocations: 198.9 kB / 3.551 GB, free: 6.312 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003358/9.412, allocations: 0.9035 MB / 3.552 GB, free: 5.371 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/9.412, allocations: 41.31 kB / 3.552 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/9.412, allocations: 64.28 kB / 3.552 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/9.414, allocations: 0.5934 MB / 3.552 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/9.414, allocations: 0 / 3.552 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/9.414, allocations: 23.98 kB / 3.552 GB, free: 4.637 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/9.414, allocations: 21.31 kB / 3.552 GB, free: 4.613 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/9.415, allocations: 465 kB / 3.553 GB, free: 4.16 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.004192/9.419, allocations: 2.404 MB / 3.555 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000691/9.42, allocations: 319.6 kB / 3.555 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004131/9.421, allocations: 200.7 kB / 3.556 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007395/9.421, allocations: 307.2 kB / 3.556 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/9.421, allocations: 34.56 kB / 3.556 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=36): time 4.559e-06/9.421, allocations: 0 / 3.556 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of matching and sorting (n=36): time 0.001377/9.423, allocations: 409.2 kB / 3.556 GB, free: 232 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/9.423, allocations: 55.41 kB / 3.556 GB, free: 164 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6503/10.07, allocations: 430.7 kB / 3.557 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/10.07, allocations: 36.59 kB / 3.557 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/10.07, allocations: 315.8 kB / 3.557 GB, free: 191 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/10.07, allocations: 131.5 kB / 3.557 GB, free: 191 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/10.07, allocations: 8.844 kB / 3.557 GB, free: 191 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001432/10.07, allocations: 362.8 kB / 3.558 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/10.07, allocations: 138.3 kB / 3.558 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005355/10.08, allocations: 267.2 kB / 3.558 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/10.08, allocations: 191.5 kB / 3.558 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/10.08, allocations: 3.453 kB / 3.558 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001345/10.08, allocations: 464.4 kB / 3.559 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000236/10.08, allocations: 0.8851 MB / 3.559 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/10.08, allocations: 3.812 kB / 3.559 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/10.08, allocations: 7.438 kB / 3.56 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/10.08, allocations: 91.44 kB / 3.56 GB, free: 189.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000447/10.08, allocations: 0.5964 MB / 3.56 GB, free: 189 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/10.08, allocations: 70.39 kB / 3.56 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.661e-05/10.08, allocations: 18.62 kB / 3.56 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/10.08, allocations: 3.75 kB / 3.56 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001117/10.08, allocations: 395.5 kB / 3.561 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.996e-06/10.08, allocations: 4.969 kB / 3.561 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/10.08, allocations: 4.375 kB / 3.561 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007434/10.08, allocations: 90.73 kB / 3.561 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/10.08, allocations: 5.156 kB / 3.561 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/10.08, allocations: 70.41 kB / 3.561 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/10.08, allocations: 17.94 kB / 3.561 GB, free: 188.9 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.0002314/10.08, allocations: 130.3 kB / 3.561 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/10.08, allocations: 63.27 kB / 3.561 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/10.09, allocations: 439.7 kB / 3.561 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/10.09, allocations: 4.438 kB / 3.561 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/10.09, allocations: 0 / 3.561 GB, free: 188.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008961/10.09, allocations: 0.6421 MB / 3.562 GB, free: 188.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/10.09, allocations: 1.191 MB / 3.563 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/10.09, allocations: 2.734 kB / 3.563 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009797/10.09, allocations: 94.39 kB / 3.563 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/10.09, allocations: 3.531 kB / 3.563 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/10.09, allocations: 10.23 kB / 3.563 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00032/10.09, allocations: 0.5978 MB / 3.564 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/10.09, allocations: 2.5 kB / 3.564 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/10.09, allocations: 0.7968 MB / 3.565 GB, free: 187 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/10.09, allocations: 185.9 kB / 3.565 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/10.09, allocations: 16.56 kB / 3.565 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008981/10.09, allocations: 46.61 kB / 3.565 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.614e-05/10.09, allocations: 26.42 kB / 3.565 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/10.09, allocations: 17.09 kB / 3.565 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007183/10.1, allocations: 353.1 kB / 3.565 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.51e-07/10.1, allocations: 0 / 3.565 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002325/10.1, allocations: 478.4 kB / 3.566 GB, free: 186.8 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.005153/10.1, allocations: 3.092 MB / 3.569 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002122/10.1, allocations: 0.5719 MB / 3.569 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/10.1, allocations: 3.688 kB / 3.569 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005726/10.11, allocations: 181.6 kB / 3.57 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003401/10.11, allocations: 356 kB / 3.57 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/10.11, allocations: 1.256 MB / 3.571 GB, free: 184.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007165/10.11, allocations: 0.9564 MB / 3.572 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001866/10.12, allocations: 249.5 kB / 3.572 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/10.12, allocations: 216.1 kB / 3.572 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.863e-06/10.12, allocations: 0 / 3.572 GB, free: 184.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/10.24, allocations: 42.38 MB / 3.614 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/10.24, allocations: 213.9 kB / 3.614 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.475/14.71, allocations: 0 / 3.614 GB, free: 183.3 MB / 0.8698 GB