Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007232/0.0007232, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007554/0.0007554, allocations: 174.8 kB / 16.58 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.203/1.203, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6059/0.6059, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002962/0.0002963, allocations: 12.95 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1294, allocations: 77.11 MB / 0.5569 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.3789/0.5084, allocations: 169.9 MB / 0.7228 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006025/0.5144, allocations: 4.285 MB / 0.727 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008486/0.5153, allocations: 27.81 kB / 0.727 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009734/0.5163, allocations: 278.2 kB / 0.7273 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.5191, allocations: 0.9953 MB / 0.7283 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.5208, allocations: 0.5878 MB / 0.7288 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002528/0.5234, allocations: 2.318 MB / 0.7311 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007798/0.5241, allocations: 492.9 kB / 0.7316 GB, free: 7.945 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.5259, allocations: 0.8481 MB / 0.7324 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008724/0.5268, allocations: 0.572 MB / 0.7329 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.861e-05/0.5269, allocations: 28 kB / 0.733 GB, free: 6.492 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.5285, allocations: 0.8653 MB / 0.7338 GB, free: 5.625 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000271/0.5288, allocations: 247.2 kB / 0.7341 GB, free: 5.383 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.529, allocations: 173.3 kB / 0.7342 GB, free: 5.207 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.5301, allocations: 1.002 MB / 0.7352 GB, free: 4.203 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5301, allocations: 0 / 0.7352 GB, free: 4.203 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.81e-07/0.5301, allocations: 0 / 0.7352 GB, free: 4.203 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.971e-05/0.5301, allocations: 0 / 0.7352 GB, free: 4.203 MB / 0.545 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.001338/0.5315, allocations: 0.959 MB / 0.7361 GB, free: 3.195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.5315, allocations: 12.03 kB / 0.7361 GB, free: 3.184 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.5317, allocations: 94.45 kB / 0.7362 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.5328, allocations: 206.9 kB / 0.7364 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.5336, allocations: 0.5602 MB / 0.737 GB, free: 2.281 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.5336, allocations: 41.31 kB / 0.737 GB, free: 2.238 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/0.5337, allocations: 56.75 kB / 0.7371 GB, free: 2.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008567/0.5346, allocations: 0.6206 MB / 0.7377 GB, free: 1.547 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.5346, allocations: 3.938 kB / 0.7377 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.442e-05/0.5346, allocations: 20 kB / 0.7377 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/0.5347, allocations: 21.3 kB / 0.7377 GB, free: 1.504 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006918/0.5354, allocations: 493 kB / 0.7382 GB, free: 1.023 MB / 0.545 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.002432/0.5378, allocations: 2.392 MB / 0.7405 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.5383, allocations: 366.7 kB / 0.7409 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.5386, allocations: 205.8 kB / 0.7411 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000481/0.5391, allocations: 323.2 kB / 0.7414 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.5391, allocations: 42.44 kB / 0.7414 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=36): time 1.402e-06/0.5391, allocations: 0 / 0.7414 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36): time 0.0009426/0.5401, allocations: 0.5449 MB / 0.742 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.5401, allocations: 59.34 kB / 0.742 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.5406, allocations: 0.4988 MB / 0.7425 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.5407, allocations: 37.64 kB / 0.7425 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.5408, allocations: 311.9 kB / 0.7428 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.5409, allocations: 134.1 kB / 0.743 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.957e-05/0.541, allocations: 8 kB / 0.743 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.5411, allocations: 362.8 kB / 0.7433 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.5413, allocations: 144.8 kB / 0.7435 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.5416, allocations: 259.7 kB / 0.7437 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.5419, allocations: 190.2 kB / 0.7439 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5419, allocations: 4 kB / 0.7439 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006244/0.5425, allocations: 481.5 kB / 0.7443 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.315e-05/0.5426, allocations: 157 kB / 0.7445 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.5426, allocations: 4 kB / 0.7445 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5426, allocations: 4 kB / 0.7445 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.5431, allocations: 99.83 kB / 0.7446 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002934/0.5434, allocations: 0.6015 MB / 0.7452 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.5439, allocations: 83.58 kB / 0.7453 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.5439, allocations: 12 kB / 0.7453 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.723e-06/0.5439, allocations: 4 kB / 0.7453 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005453/0.5445, allocations: 407.8 kB / 0.7457 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-06/0.5445, allocations: 0 / 0.7457 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.36e-06/0.5445, allocations: 4 kB / 0.7457 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.5448, allocations: 96.17 kB / 0.7458 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.5449, allocations: 7.938 kB / 0.7458 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.5453, allocations: 63.64 kB / 0.7458 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.5453, allocations: 20 kB / 0.7459 GB, free: 8.746 MB / 0.5606 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.000251/0.5456, allocations: 305 kB / 0.7461 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.717e-05/0.5457, allocations: 55.34 kB / 0.7462 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006281/0.5463, allocations: 449.5 kB / 0.7466 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.5463, allocations: 4 kB / 0.7466 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5463, allocations: 4 kB / 0.7466 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005735/0.5469, allocations: 0.6493 MB / 0.7473 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.5484, allocations: 1.212 MB / 0.7485 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5484, allocations: 7.938 kB / 0.7485 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/0.5488, allocations: 89.08 kB / 0.7485 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.5489, allocations: 4 kB / 0.7485 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.5489, allocations: 12 kB / 0.7486 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000231/0.5491, allocations: 0.5899 MB / 0.7491 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.5491, allocations: 8.156 kB / 0.7491 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.5499, allocations: 0.7128 MB / 0.7498 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.5501, allocations: 172.4 kB / 0.75 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-05/0.5502, allocations: 16.45 kB / 0.75 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.5506, allocations: 48.61 kB / 0.7501 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.5506, allocations: 24.06 kB / 0.7501 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.5506, allocations: 15.98 kB / 0.7501 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000334/0.551, allocations: 354.8 kB / 0.7504 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.551, allocations: 0 / 0.7504 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000758/0.5517, allocations: 347.2 kB / 0.7508 GB, free: 3.449 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.001226/0.553, allocations: 1.337 MB / 0.7521 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009466/0.5539, allocations: 0.5775 MB / 0.7526 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.554, allocations: 4 kB / 0.7526 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.5542, allocations: 186.2 kB / 0.7528 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/0.5557, allocations: 365.1 kB / 0.7532 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.5602, allocations: 3.714 MB / 0.7568 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.5606, allocations: 0.9375 MB / 0.7577 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000599/0.5612, allocations: 208.9 kB / 0.7579 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.5615, allocations: 215.4 kB / 0.7581 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of SimCode: time 1.272e-06/0.5615, allocations: 0 / 0.7581 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.5907, allocations: 16.9 MB / 0.7746 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/0.5909, allocations: 244.9 kB / 0.7749 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.363, allocations: 0 / 0.7749 GB, free: 10.93 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_MassFraction.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: