Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.626/2.626, allocations: 287.3 MB / 302.3 MB, free: 8.242 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.001542/0.001542, allocations: 171.3 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 86.94 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004898/0.0004902, allocations: 16.5 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2279, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.033/7.261, allocations: 2.083 GB / 3.062 GB, free: 171 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004338/7.261, allocations: 89.83 kB / 3.062 GB, free: 170.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.342/9.603, allocations: 481.6 MB / 3.532 GB, free: 70.26 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.224e-06/9.603, allocations: 4 kB / 3.532 GB, free: 70.26 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.987e-05/9.604, allocations: 19.98 kB / 3.532 GB, free: 70.24 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.003428/9.607, allocations: 1.091 MB / 3.533 GB, free: 69.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/9.607, allocations: 11.97 kB / 3.533 GB, free: 69.09 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002908/9.607, allocations: 94.52 kB / 3.533 GB, free: 68.98 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/9.609, allocations: 210.9 kB / 3.533 GB, free: 68.78 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003341/9.613, allocations: 0.8996 MB / 3.534 GB, free: 67.84 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/9.613, allocations: 45.31 kB / 3.534 GB, free: 67.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/9.613, allocations: 63.89 kB / 3.534 GB, free: 67.73 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/9.614, allocations: 0.5894 MB / 3.535 GB, free: 67.13 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/9.614, allocations: 4.344 kB / 3.535 GB, free: 67.12 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/9.615, allocations: 23.95 kB / 3.535 GB, free: 67.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.825e-05/9.615, allocations: 21.3 kB / 3.535 GB, free: 67.08 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/9.616, allocations: 472.9 kB / 3.535 GB, free: 66.62 MB / 0.948 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.00524/9.621, allocations: 2.4 MB / 3.538 GB, free: 64.01 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/9.622, allocations: 329.7 kB / 3.538 GB, free: 63.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007227/9.623, allocations: 299.3 kB / 3.538 GB, free: 63.33 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/9.623, allocations: 42.5 kB / 3.538 GB, free: 63.28 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.865e-06/9.623, allocations: 4 kB / 3.538 GB, free: 63.27 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001734/9.625, allocations: 0.5363 MB / 3.539 GB, free: 62.73 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.254e-05/9.625, allocations: 59.27 kB / 3.539 GB, free: 62.66 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007656/9.626, allocations: 438 kB / 3.539 GB, free: 62.22 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.094e-05/9.626, allocations: 37.7 kB / 3.539 GB, free: 62.18 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/9.626, allocations: 312.5 kB / 3.54 GB, free: 61.87 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/9.626, allocations: 130.2 kB / 3.54 GB, free: 61.74 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/9.626, allocations: 4 kB / 3.54 GB, free: 61.74 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001632/9.626, allocations: 370.8 kB / 3.54 GB, free: 61.37 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/9.627, allocations: 136.8 kB / 3.54 GB, free: 61.23 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/9.627, allocations: 284 kB / 3.541 GB, free: 60.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/9.628, allocations: 185.6 kB / 3.541 GB, free: 60.72 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/9.628, allocations: 0 / 3.541 GB, free: 60.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001142/9.629, allocations: 475.1 kB / 3.541 GB, free: 60.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002092/9.629, allocations: 0.8849 MB / 3.542 GB, free: 59.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/9.629, allocations: 7.938 kB / 3.542 GB, free: 59.29 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/9.629, allocations: 8 kB / 3.542 GB, free: 59.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009791/9.63, allocations: 99.83 kB / 3.542 GB, free: 59.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004237/9.631, allocations: 0.5976 MB / 3.543 GB, free: 58.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/9.632, allocations: 71.59 kB / 3.543 GB, free: 58.49 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/9.632, allocations: 16 kB / 3.543 GB, free: 58.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/9.632, allocations: 7.938 kB / 3.543 GB, free: 58.47 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009308/9.633, allocations: 403.5 kB / 3.543 GB, free: 58.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/9.633, allocations: 0 / 3.543 GB, free: 58.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/9.633, allocations: 4 kB / 3.543 GB, free: 58.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006508/9.633, allocations: 87.91 kB / 3.543 GB, free: 57.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/9.633, allocations: 7.938 kB / 3.543 GB, free: 57.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/9.634, allocations: 67.92 kB / 3.544 GB, free: 57.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/9.635, allocations: 16 kB / 3.544 GB, free: 57.89 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 () * 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.0005246/9.635, allocations: 313.9 kB / 3.544 GB, free: 57.58 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/9.635, allocations: 55.34 kB / 3.544 GB, free: 57.52 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/9.636, allocations: 444.5 kB / 3.544 GB, free: 57.08 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/9.636, allocations: 4 kB / 3.544 GB, free: 57.07 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/9.636, allocations: 0 / 3.544 GB, free: 57.07 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008042/9.637, allocations: 0.6521 MB / 3.545 GB, free: 56.34 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002785/9.64, allocations: 1.195 MB / 3.546 GB, free: 55.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/9.64, allocations: 4 kB / 3.546 GB, free: 55.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009241/9.641, allocations: 98.42 kB / 3.546 GB, free: 54.96 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/9.641, allocations: 4 kB / 3.546 GB, free: 54.96 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/9.641, allocations: 11.95 kB / 3.546 GB, free: 54.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002849/9.641, allocations: 0.5941 MB / 3.547 GB, free: 54.33 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/9.641, allocations: 7.938 kB / 3.547 GB, free: 54.32 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/9.643, allocations: 0.8111 MB / 3.548 GB, free: 53.43 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/9.643, allocations: 172.3 kB / 3.548 GB, free: 53.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/9.643, allocations: 8 kB / 3.548 GB, free: 53.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008151/9.644, allocations: 47.81 kB / 3.548 GB, free: 53.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.933e-05/9.644, allocations: 31.86 kB / 3.548 GB, free: 53.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/9.644, allocations: 19.98 kB / 3.548 GB, free: 53.14 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006016/9.645, allocations: 350.8 kB / 3.548 GB, free: 52.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/9.645, allocations: 7.938 kB / 3.548 GB, free: 52.79 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001994/9.647, allocations: 475.2 kB / 3.549 GB, free: 52.32 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 () * 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.004142/9.651, allocations: 3.111 MB / 3.552 GB, free: 49.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001827/9.653, allocations: 0.5621 MB / 3.552 GB, free: 48.53 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/9.653, allocations: 0 / 3.552 GB, free: 48.53 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000501/9.654, allocations: 193 kB / 3.552 GB, free: 48.34 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/9.657, allocations: 359.9 kB / 3.553 GB, free: 48 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007988/9.665, allocations: 5.015 MB / 3.558 GB, free: 42.87 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005069/9.665, allocations: 0.9534 MB / 3.559 GB, free: 41.89 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00129/9.667, allocations: 204.9 kB / 3.559 GB, free: 41.69 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/9.667, allocations: 223.4 kB / 3.559 GB, free: 41.47 MB / 0.948 GB Notification: Performance of SimCode: time 1.323e-06/9.667, allocations: 0 / 3.559 GB, free: 41.47 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/9.788, allocations: 37.93 MB / 3.596 GB, free: 3.816 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003085/9.788, allocations: 240 kB / 3.596 GB, free: 3.578 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.291/14.08, allocations: 4 kB / 3.596 GB, free: 3.574 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)