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.655/1.655, allocations: 289.9 MB / 297.4 MB, free: 6.441 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.001114/0.001114, allocations: 176.9 kB / 366.7 MB, free: 1.695 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.705/1.705, allocations: 205.2 MB / 0.626 GB, free: 7.195 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.0009588/0.0009589, allocations: 82.66 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.365e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6916/0.6916, allocations: 116.3 MB / 0.9733 GB, free: 76.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.659/5.351, allocations: 2.084 GB / 3.057 GB, free: 44.87 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/5.351, allocations: 88.52 kB / 3.057 GB, free: 44.79 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.385/7.736, allocations: 475.6 MB / 3.522 GB, free: 232 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.343e-06/7.736, allocations: 0 / 3.522 GB, free: 232 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.953e-05/7.736, allocations: 22.94 kB / 3.522 GB, free: 232 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.002127/7.738, allocations: 0.9953 MB / 3.523 GB, free: 231.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/7.738, allocations: 9.5 kB / 3.523 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/7.739, allocations: 197.7 kB / 3.523 GB, free: 231.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/7.741, allocations: 0.8978 MB / 3.524 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/7.741, allocations: 19 kB / 3.524 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.826e-05/7.741, allocations: 37.19 kB / 3.524 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008558/7.742, allocations: 435 kB / 3.524 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009497/7.743, allocations: 0.5063 MB / 3.525 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/7.743, allocations: 352 / 3.525 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/7.743, allocations: 5.547 kB / 3.525 GB, free: 231.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.565e-05/7.743, allocations: 22.09 kB / 3.525 GB, free: 231.2 MB / 0.948 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.002672/7.746, allocations: 2.281 MB / 3.527 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/7.747, allocations: 309.6 kB / 3.527 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/7.747, allocations: 196.2 kB / 3.527 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004773/7.747, allocations: 304.7 kB / 3.528 GB, free: 229.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/7.747, allocations: 40.69 kB / 3.528 GB, free: 229.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/7.747, allocations: 0 / 3.528 GB, free: 229.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001214/7.749, allocations: 419.1 kB / 3.528 GB, free: 229.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/7.749, allocations: 58.59 kB / 3.528 GB, free: 229.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/7.749, allocations: 356.4 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/7.749, allocations: 25.7 kB / 3.529 GB, free: 229.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/7.749, allocations: 322.9 kB / 3.529 GB, free: 229.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/7.749, allocations: 126.5 kB / 3.529 GB, free: 229.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/7.749, allocations: 0 / 3.529 GB, free: 229.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001032/7.75, allocations: 364.9 kB / 3.529 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/7.75, allocations: 128.9 kB / 3.529 GB, free: 228.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/7.75, allocations: 265.4 kB / 3.53 GB, free: 228.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/7.75, allocations: 204.3 kB / 3.53 GB, free: 228.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/7.75, allocations: 5.219 kB / 3.53 GB, free: 228.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007721/7.751, allocations: 459.7 kB / 3.53 GB, free: 228.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001976/7.751, allocations: 0.8839 MB / 3.531 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/7.751, allocations: 2.781 kB / 3.531 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/7.752, allocations: 4.031 kB / 3.531 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/7.752, allocations: 99.38 kB / 3.531 GB, free: 227.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003197/7.752, allocations: 0.6018 MB / 3.532 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005516/7.753, allocations: 53.69 kB / 3.532 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/7.753, allocations: 17.81 kB / 3.532 GB, free: 227.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/7.753, allocations: 7.875 kB / 3.532 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007162/7.754, allocations: 367.8 kB / 3.532 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/7.754, allocations: 4.297 kB / 3.532 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/7.754, allocations: 9.656 kB / 3.532 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/7.754, allocations: 88.86 kB / 3.532 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/7.754, allocations: 4.625 kB / 3.532 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004511/7.755, allocations: 47.92 kB / 3.532 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/7.755, allocations: 24.88 kB / 3.532 GB, free: 227.1 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 () * 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.0001152/7.755, allocations: 126.2 kB / 3.533 GB, free: 227 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006379/7.756, allocations: 372.2 kB / 3.533 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.554e-05/7.756, allocations: 53.5 kB / 3.533 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007368/7.756, allocations: 421 kB / 3.533 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/7.756, allocations: 7.844 kB / 3.533 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/7.756, allocations: 0 / 3.533 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005937/7.757, allocations: 0.6397 MB / 3.534 GB, free: 226.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/7.759, allocations: 1.108 MB / 3.535 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/7.759, allocations: 2.219 kB / 3.535 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/7.759, allocations: 97.81 kB / 3.535 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/7.759, allocations: 3 kB / 3.535 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/7.759, allocations: 6.812 kB / 3.535 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002166/7.759, allocations: 0.6015 MB / 3.536 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/7.759, allocations: 6.484 kB / 3.536 GB, free: 225.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/7.76, allocations: 0.7966 MB / 3.537 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/7.761, allocations: 168.5 kB / 3.537 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/7.761, allocations: 2.812 kB / 3.537 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003978/7.761, allocations: 37.75 kB / 3.537 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/7.761, allocations: 23.59 kB / 3.537 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.181e-05/7.761, allocations: 23.59 kB / 3.537 GB, free: 225 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003231/7.762, allocations: 279.8 kB / 3.537 GB, free: 224.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/7.762, allocations: 0 / 3.537 GB, free: 224.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001466/7.763, allocations: 433 kB / 3.538 GB, free: 224.9 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 () * 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.003477/7.767, allocations: 3.267 MB / 3.541 GB, free: 223.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001107/7.768, allocations: 0.5472 MB / 3.541 GB, free: 223.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/7.768, allocations: 4.781 kB / 3.541 GB, free: 223.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/7.768, allocations: 170.1 kB / 3.541 GB, free: 223.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001487/7.769, allocations: 307.3 kB / 3.542 GB, free: 223.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/7.772, allocations: 1.208 MB / 3.543 GB, free: 222.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/7.772, allocations: 0.9495 MB / 3.544 GB, free: 222.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007995/7.773, allocations: 235.3 kB / 3.544 GB, free: 222.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002637/7.773, allocations: 209.9 kB / 3.544 GB, free: 222.2 MB / 0.948 GB Notification: Performance of SimCode: time 3.1e-07/7.773, allocations: 5.281 kB / 3.544 GB, free: 222.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05676/7.83, allocations: 25.93 MB / 3.57 GB, free: 221.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/7.83, allocations: 164.6 kB / 3.57 GB, free: 221.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.141/10.97, allocations: 0 / 3.57 GB, free: 221.1 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)