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.661/1.661, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.001149/0.001149, allocations: 183.1 kB / 371.8 MB, free: 10.27 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.859/1.859, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.001001/0.001001, allocations: 94.23 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004395/0.0004397, allocations: 15.75 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.278, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.137/6.416, allocations: 2.084 GB / 3.063 GB, free: 233 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/6.416, allocations: 87.95 kB / 3.063 GB, free: 233 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.804/8.22, allocations: 481.6 MB / 3.533 GB, free: 121.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.844e-06/8.22, allocations: 4 kB / 3.533 GB, free: 121.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001102/8.22, allocations: 27.98 kB / 3.533 GB, free: 121.4 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.003318/8.223, allocations: 1.088 MB / 3.534 GB, free: 120.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/8.223, allocations: 16.03 kB / 3.534 GB, free: 120.2 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003269/8.224, allocations: 90.52 kB / 3.535 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/8.225, allocations: 198.9 kB / 3.535 GB, free: 119.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002533/8.228, allocations: 0.9116 MB / 3.536 GB, free: 119 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/8.228, allocations: 41.31 kB / 3.536 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/8.228, allocations: 56 kB / 3.536 GB, free: 118.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/8.229, allocations: 0.5932 MB / 3.536 GB, free: 118.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/8.229, allocations: 0 / 3.536 GB, free: 118.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/8.229, allocations: 23.98 kB / 3.536 GB, free: 118.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/8.229, allocations: 25.31 kB / 3.536 GB, free: 118.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007928/8.23, allocations: 472.9 kB / 3.537 GB, free: 117.7 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.003167/8.233, allocations: 2.408 MB / 3.539 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/8.234, allocations: 328.3 kB / 3.539 GB, free: 114.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004741/8.234, allocations: 303.2 kB / 3.54 GB, free: 114.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/8.234, allocations: 34.56 kB / 3.54 GB, free: 114.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.525e-06/8.234, allocations: 0 / 3.54 GB, free: 114.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001151/8.236, allocations: 0.5334 MB / 3.54 GB, free: 113.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/8.236, allocations: 67.2 kB / 3.54 GB, free: 113.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004965/8.236, allocations: 434.1 kB / 3.541 GB, free: 113.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.375e-05/8.236, allocations: 41.69 kB / 3.541 GB, free: 113.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/8.236, allocations: 308.5 kB / 3.541 GB, free: 113 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/8.237, allocations: 134.1 kB / 3.541 GB, free: 112.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/8.237, allocations: 8 kB / 3.541 GB, free: 112.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001027/8.237, allocations: 370.7 kB / 3.542 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/8.237, allocations: 140.8 kB / 3.542 GB, free: 112.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/8.237, allocations: 280.1 kB / 3.542 GB, free: 112 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/8.237, allocations: 182.6 kB / 3.542 GB, free: 111.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/8.237, allocations: 0 / 3.542 GB, free: 111.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006634/8.238, allocations: 491.1 kB / 3.543 GB, free: 111.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002019/8.238, allocations: 0.8823 MB / 3.544 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/8.238, allocations: 4 kB / 3.544 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/8.238, allocations: 4 kB / 3.544 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/8.239, allocations: 91.89 kB / 3.544 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003087/8.239, allocations: 0.6016 MB / 3.544 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/8.24, allocations: 71.55 kB / 3.544 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/8.24, allocations: 16 kB / 3.544 GB, free: 109.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/8.24, allocations: 4 kB / 3.544 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005191/8.241, allocations: 395.5 kB / 3.545 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/8.241, allocations: 4 kB / 3.545 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.821e-06/8.241, allocations: 4.281 kB / 3.545 GB, free: 109.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003391/8.241, allocations: 91.89 kB / 3.545 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/8.241, allocations: 7.984 kB / 3.545 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/8.242, allocations: 75.48 kB / 3.545 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/8.242, allocations: 23.94 kB / 3.545 GB, free: 109 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.0003369/8.242, allocations: 297.5 kB / 3.545 GB, free: 108.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/8.242, allocations: 59.3 kB / 3.545 GB, free: 108.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006467/8.243, allocations: 443.5 kB / 3.546 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/8.243, allocations: 7.938 kB / 3.546 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/8.243, allocations: 0 / 3.546 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000508/8.243, allocations: 0.6519 MB / 3.546 GB, free: 107.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/8.245, allocations: 1.189 MB / 3.547 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/8.245, allocations: 12.22 kB / 3.547 GB, free: 106.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004744/8.245, allocations: 98.38 kB / 3.548 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/8.245, allocations: 7.938 kB / 3.548 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/8.246, allocations: 8 kB / 3.548 GB, free: 106.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002014/8.246, allocations: 0.5938 MB / 3.548 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/8.246, allocations: 4.031 kB / 3.548 GB, free: 105.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/8.247, allocations: 0.8105 MB / 3.549 GB, free: 104.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/8.247, allocations: 188.3 kB / 3.549 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-05/8.247, allocations: 8 kB / 3.549 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/8.247, allocations: 43.81 kB / 3.549 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/8.247, allocations: 27.91 kB / 3.549 GB, free: 104.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/8.247, allocations: 19.98 kB / 3.549 GB, free: 104.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003273/8.248, allocations: 350.8 kB / 3.55 GB, free: 103.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.71e-07/8.248, allocations: 0 / 3.55 GB, free: 103.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001436/8.249, allocations: 479.2 kB / 3.55 GB, free: 103.4 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.002748/8.252, allocations: 3.105 MB / 3.553 GB, free: 100.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001044/8.253, allocations: 0.5675 MB / 3.554 GB, free: 99.65 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/8.253, allocations: 0 / 3.554 GB, free: 99.65 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/8.253, allocations: 187.9 kB / 3.554 GB, free: 99.47 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/8.255, allocations: 364.8 kB / 3.554 GB, free: 99.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004457/8.259, allocations: 5.012 MB / 3.559 GB, free: 94 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/8.26, allocations: 0.9573 MB / 3.56 GB, free: 93.02 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006877/8.26, allocations: 204.9 kB / 3.56 GB, free: 92.81 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/8.261, allocations: 215.4 kB / 3.56 GB, free: 92.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.352e-06/8.261, allocations: 0 / 3.56 GB, free: 92.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05496/8.316, allocations: 37.96 MB / 3.597 GB, free: 54.88 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/8.316, allocations: 245.6 kB / 3.598 GB, free: 54.54 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.53/11.85, allocations: 0 / 3.598 GB, free: 54.54 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)