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.738/1.738, allocations: 289.7 MB / 302.2 MB, free: 2.117 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.001141/0.001141, allocations: 179.2 kB / 371.6 MB, free: 3.355 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.838/1.838, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.000912/0.0009122, allocations: 90.12 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.3e-05/3.302e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.244, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.932/6.176, allocations: 2.084 GB / 3.064 GB, free: 157.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/6.176, allocations: 88.97 kB / 3.064 GB, free: 157.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.805/7.981, allocations: 481.1 MB / 3.534 GB, free: 46.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.804e-06/7.981, allocations: 0 / 3.534 GB, free: 46.36 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001234/7.981, allocations: 20 kB / 3.534 GB, free: 46.34 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.003058/7.985, allocations: 0.986 MB / 3.535 GB, free: 45.31 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.922e-05/7.985, allocations: 16.02 kB / 3.535 GB, free: 45.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003125/7.985, allocations: 90.52 kB / 3.535 GB, free: 45.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/7.987, allocations: 206.9 kB / 3.535 GB, free: 45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00262/7.989, allocations: 0.8982 MB / 3.536 GB, free: 44.06 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/7.989, allocations: 45.31 kB / 3.536 GB, free: 44.02 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/7.989, allocations: 56 kB / 3.536 GB, free: 43.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/7.991, allocations: 0.5817 MB / 3.537 GB, free: 43.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/7.991, allocations: 8.281 kB / 3.537 GB, free: 43.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.865e-05/7.991, allocations: 23.95 kB / 3.537 GB, free: 43.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.545e-05/7.991, allocations: 21.31 kB / 3.537 GB, free: 43.31 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009418/7.992, allocations: 457.1 kB / 3.538 GB, free: 42.87 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.004262/7.996, allocations: 2.392 MB / 3.54 GB, free: 40.27 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005835/7.997, allocations: 319.8 kB / 3.54 GB, free: 39.94 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/7.997, allocations: 203.5 kB / 3.54 GB, free: 39.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/7.998, allocations: 303.2 kB / 3.541 GB, free: 39.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.453e-05/7.998, allocations: 46.45 kB / 3.541 GB, free: 39.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 3.376e-06/7.998, allocations: 4 kB / 3.541 GB, free: 39.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001207/7.999, allocations: 412.3 kB / 3.541 GB, free: 38.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/7.999, allocations: 56 kB / 3.541 GB, free: 38.86 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/8, allocations: 428.8 kB / 3.542 GB, free: 38.43 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/8, allocations: 41.64 kB / 3.542 GB, free: 38.39 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/8, allocations: 316.6 kB / 3.542 GB, free: 38.07 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/8, allocations: 134 kB / 3.542 GB, free: 37.94 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.986e-05/8, allocations: 8 kB / 3.542 GB, free: 37.93 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001404/8, allocations: 362.8 kB / 3.542 GB, free: 37.57 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/8, allocations: 144.8 kB / 3.542 GB, free: 37.43 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/8.001, allocations: 276 kB / 3.543 GB, free: 37.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/8.001, allocations: 194.1 kB / 3.543 GB, free: 36.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/8.001, allocations: 0 / 3.543 GB, free: 36.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000728/8.002, allocations: 462.6 kB / 3.543 GB, free: 36.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000269/8.002, allocations: 0.8774 MB / 3.544 GB, free: 35.51 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/8.002, allocations: 8 kB / 3.544 GB, free: 35.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/8.002, allocations: 7.938 kB / 3.544 GB, free: 35.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005795/8.003, allocations: 91.89 kB / 3.544 GB, free: 35.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003522/8.003, allocations: 0.5977 MB / 3.545 GB, free: 34.78 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006665/8.004, allocations: 71.58 kB / 3.545 GB, free: 34.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/8.004, allocations: 20 kB / 3.545 GB, free: 34.69 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.869e-06/8.004, allocations: 5.719 kB / 3.545 GB, free: 34.69 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005373/8.004, allocations: 391.9 kB / 3.545 GB, free: 34.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/8.004, allocations: 4 kB / 3.545 GB, free: 34.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/8.004, allocations: 4 kB / 3.545 GB, free: 34.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/8.005, allocations: 91.83 kB / 3.545 GB, free: 34.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/8.005, allocations: 4 kB / 3.545 GB, free: 34.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/8.005, allocations: 67.84 kB / 3.546 GB, free: 34.14 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/8.005, allocations: 19.98 kB / 3.546 GB, free: 34.12 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.0001363/8.006, allocations: 132.9 kB / 3.546 GB, free: 33.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/8.006, allocations: 63.28 kB / 3.546 GB, free: 33.92 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006502/8.006, allocations: 431.8 kB / 3.546 GB, free: 33.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/8.006, allocations: 4 kB / 3.546 GB, free: 33.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/8.006, allocations: 0 / 3.546 GB, free: 33.48 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005129/8.007, allocations: 0.6481 MB / 3.547 GB, free: 32.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/8.008, allocations: 1.208 MB / 3.548 GB, free: 31.46 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/8.009, allocations: 4 kB / 3.548 GB, free: 31.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/8.009, allocations: 99.81 kB / 3.548 GB, free: 31.36 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/8.009, allocations: 4 kB / 3.548 GB, free: 31.36 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/8.009, allocations: 11.95 kB / 3.548 GB, free: 31.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002055/8.009, allocations: 0.594 MB / 3.549 GB, free: 30.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/8.009, allocations: 4.031 kB / 3.549 GB, free: 30.72 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/8.01, allocations: 0.8032 MB / 3.549 GB, free: 29.84 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002193/8.01, allocations: 184.4 kB / 3.55 GB, free: 29.64 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.934e-05/8.01, allocations: 12 kB / 3.55 GB, free: 29.62 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004151/8.011, allocations: 35.97 kB / 3.55 GB, free: 29.59 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.8e-05/8.011, allocations: 23.92 kB / 3.55 GB, free: 29.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/8.011, allocations: 19.98 kB / 3.55 GB, free: 29.55 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003375/8.011, allocations: 341.6 kB / 3.55 GB, free: 29.22 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/8.011, allocations: 0 / 3.55 GB, free: 29.22 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001492/8.013, allocations: 487.1 kB / 3.551 GB, free: 28.74 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.003037/8.016, allocations: 3.104 MB / 3.554 GB, free: 25.52 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009495/8.017, allocations: 0.5776 MB / 3.554 GB, free: 24.94 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/8.017, allocations: 1.125 kB / 3.554 GB, free: 24.94 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000259/8.017, allocations: 184.2 kB / 3.554 GB, free: 24.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/8.019, allocations: 364.2 kB / 3.555 GB, free: 24.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/8.021, allocations: 1.253 MB / 3.556 GB, free: 23.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/8.021, allocations: 0.9544 MB / 3.557 GB, free: 22.12 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0007365/8.022, allocations: 252.8 kB / 3.557 GB, free: 21.88 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/8.022, allocations: 207.4 kB / 3.557 GB, free: 21.67 MB / 0.948 GB Notification: Performance of SimCode: time 3.31e-07/8.022, allocations: 0 / 3.557 GB, free: 21.67 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7476/8.77, allocations: 42.36 MB / 3.599 GB, free: 167.8 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/8.77, allocations: 210.4 kB / 3.599 GB, free: 167.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.834/12.6, allocations: 3.656 kB / 3.599 GB, free: 167.6 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)