Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.725/1.725, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001167/0.001167, allocations: 185 kB / 377.1 MB, free: 1.527 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.935/1.935, allocations: 205.4 MB / 0.6366 GB, free: 8.613 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000935/0.0009349, allocations: 90.69 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004404, allocations: 12 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3389, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.205/6.544, allocations: 2.084 GB / 3.073 GB, free: 135.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/6.544, allocations: 96.8 kB / 3.073 GB, free: 135 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.679/8.223, allocations: 481.6 MB / 3.543 GB, free: 25.07 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.813e-06/8.223, allocations: 4 kB / 3.543 GB, free: 25.07 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001105/8.223, allocations: 23.94 kB / 3.543 GB, free: 25.04 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.003387/8.226, allocations: 1.095 MB / 3.544 GB, free: 23.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/8.226, allocations: 12.03 kB / 3.544 GB, free: 23.89 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003332/8.227, allocations: 94.52 kB / 3.544 GB, free: 23.79 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/8.228, allocations: 194.9 kB / 3.545 GB, free: 23.59 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002759/8.231, allocations: 0.92 MB / 3.546 GB, free: 22.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.919e-05/8.231, allocations: 43.72 kB / 3.546 GB, free: 22.59 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/8.231, allocations: 56 kB / 3.546 GB, free: 22.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/8.233, allocations: 0.5894 MB / 3.546 GB, free: 21.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/8.233, allocations: 0 / 3.546 GB, free: 21.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/8.233, allocations: 20 kB / 3.546 GB, free: 21.91 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/8.233, allocations: 25.31 kB / 3.546 GB, free: 21.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00077/8.233, allocations: 476.9 kB / 3.547 GB, free: 21.43 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.003225/8.237, allocations: 2.391 MB / 3.549 GB, free: 18.83 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/8.237, allocations: 329.3 kB / 3.549 GB, free: 18.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005002/8.238, allocations: 303.2 kB / 3.55 GB, free: 18.14 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/8.238, allocations: 42.52 kB / 3.55 GB, free: 18.09 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 2.043e-06/8.238, allocations: 0 / 3.55 GB, free: 18.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.00119/8.239, allocations: 0.53 MB / 3.55 GB, free: 17.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/8.239, allocations: 67.25 kB / 3.55 GB, free: 17.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005198/8.24, allocations: 434 kB / 3.551 GB, free: 17.05 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/8.24, allocations: 37.7 kB / 3.551 GB, free: 17.01 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/8.24, allocations: 320.5 kB / 3.551 GB, free: 16.69 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/8.24, allocations: 122.2 kB / 3.551 GB, free: 16.57 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/8.24, allocations: 12 kB / 3.551 GB, free: 16.55 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001233/8.24, allocations: 362.8 kB / 3.552 GB, free: 16.19 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/8.24, allocations: 144.7 kB / 3.552 GB, free: 16.05 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/8.241, allocations: 284 kB / 3.552 GB, free: 15.72 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/8.241, allocations: 186.2 kB / 3.552 GB, free: 15.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/8.241, allocations: 0 / 3.552 GB, free: 15.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000623/8.242, allocations: 486.5 kB / 3.553 GB, free: 15.06 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002504/8.242, allocations: 0.881 MB / 3.553 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/8.242, allocations: 4 kB / 3.553 GB, free: 14.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/8.242, allocations: 4 kB / 3.553 GB, free: 14.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/8.242, allocations: 95.83 kB / 3.554 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003474/8.243, allocations: 0.5977 MB / 3.554 GB, free: 13.39 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00067/8.243, allocations: 71.58 kB / 3.554 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/8.244, allocations: 23.94 kB / 3.554 GB, free: 13.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/8.244, allocations: 4 kB / 3.554 GB, free: 13.29 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005237/8.244, allocations: 391.9 kB / 3.555 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/8.244, allocations: 4 kB / 3.555 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.47e-06/8.244, allocations: 4.281 kB / 3.555 GB, free: 12.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003285/8.244, allocations: 95.83 kB / 3.555 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/8.244, allocations: 4 kB / 3.555 GB, free: 12.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004599/8.245, allocations: 63.66 kB / 3.555 GB, free: 12.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/8.245, allocations: 23.98 kB / 3.555 GB, free: 12.71 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.0003924/8.245, allocations: 302.6 kB / 3.555 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/8.245, allocations: 59.25 kB / 3.555 GB, free: 12.35 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006518/8.246, allocations: 447.6 kB / 3.556 GB, free: 11.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/8.246, allocations: 4 kB / 3.556 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/8.246, allocations: 3.938 kB / 3.556 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000494/8.247, allocations: 0.648 MB / 3.556 GB, free: 11.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/8.248, allocations: 1.195 MB / 3.557 GB, free: 9.891 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/8.248, allocations: 4.219 kB / 3.557 GB, free: 9.887 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004591/8.249, allocations: 95.88 kB / 3.557 GB, free: 9.793 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/8.249, allocations: 7.953 kB / 3.557 GB, free: 9.785 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/8.249, allocations: 8 kB / 3.557 GB, free: 9.777 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002367/8.249, allocations: 0.5983 MB / 3.558 GB, free: 9.156 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/8.249, allocations: 3.938 kB / 3.558 GB, free: 9.152 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007866/8.25, allocations: 0.8152 MB / 3.559 GB, free: 8.258 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/8.25, allocations: 180.4 kB / 3.559 GB, free: 8.062 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/8.25, allocations: 8 kB / 3.559 GB, free: 8.055 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/8.251, allocations: 43.81 kB / 3.559 GB, free: 8.012 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/8.251, allocations: 27.92 kB / 3.559 GB, free: 7.984 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/8.251, allocations: 20 kB / 3.559 GB, free: 7.965 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003703/8.251, allocations: 350.8 kB / 3.559 GB, free: 7.625 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.91e-07/8.251, allocations: 0 / 3.559 GB, free: 7.625 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001676/8.253, allocations: 475.2 kB / 3.56 GB, free: 7.16 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.003239/8.256, allocations: 3.13 MB / 3.563 GB, free: 3.914 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001021/8.257, allocations: 0.5552 MB / 3.564 GB, free: 3.359 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/8.257, allocations: 4.062 kB / 3.564 GB, free: 3.355 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/8.257, allocations: 187.7 kB / 3.564 GB, free: 3.172 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/8.259, allocations: 360 kB / 3.564 GB, free: 2.82 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6257/8.885, allocations: 5.003 MB / 3.569 GB, free: 174.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/8.885, allocations: 0.9515 MB / 3.57 GB, free: 174 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009053/8.886, allocations: 211.2 kB / 3.57 GB, free: 174 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/8.886, allocations: 218.4 kB / 3.57 GB, free: 174 MB / 0.948 GB Notification: Performance of SimCode: time 1.172e-06/8.886, allocations: 0 / 3.57 GB, free: 174 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08077/8.967, allocations: 37.93 MB / 3.607 GB, free: 173.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/8.967, allocations: 248.2 kB / 3.608 GB, free: 173.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.353/12.32, allocations: 0 / 3.608 GB, free: 173.3 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)