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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009283/0.0009286, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009102/0.0009103, allocations: 21.78 kB / 0.6738 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3864, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.9081/1.294, allocations: 169.9 MB / 0.9533 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008768/1.303, allocations: 4.248 MB / 0.9575 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/1.304, allocations: 24.94 kB / 0.9575 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/1.306, allocations: 286.1 kB / 0.9578 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003443/1.309, allocations: 0.9859 MB / 0.9587 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/1.311, allocations: 0.5765 MB / 0.9593 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003379/1.314, allocations: 2.297 MB / 0.9616 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/1.316, allocations: 493.7 kB / 0.962 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003273/1.319, allocations: 0.8569 MB / 0.9629 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/1.32, allocations: 0.5583 MB / 0.9634 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001999/1.32, allocations: 27.88 kB / 0.9634 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/1.323, allocations: 0.8738 MB / 0.9643 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005639/1.324, allocations: 245.3 kB / 0.9645 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008501/1.325, allocations: 171.9 kB / 0.9647 GB, free: 19.47 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/1.327, allocations: 1.003 MB / 0.9657 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.327, allocations: 0 / 0.9657 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.335e-06/1.327, allocations: 0 / 0.9657 GB, free: 19.39 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.841e-05/1.327, allocations: 0 / 0.9657 GB, free: 19.39 MB / 0.7325 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.003075/1.33, allocations: 0.9599 MB / 0.9666 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/1.33, allocations: 9.469 kB / 0.9666 GB, free: 18.75 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003633/1.33, allocations: 94.83 kB / 0.9667 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/1.332, allocations: 209.4 kB / 0.9669 GB, free: 18.66 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/1.334, allocations: 0.5546 MB / 0.9674 GB, free: 18.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/1.334, allocations: 40.44 kB / 0.9675 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/1.334, allocations: 55.25 kB / 0.9675 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/1.336, allocations: 0.6112 MB / 0.9681 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/1.336, allocations: 4 kB / 0.9681 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-05/1.336, allocations: 22.28 kB / 0.9682 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.037e-05/1.336, allocations: 18.69 kB / 0.9682 GB, free: 18.3 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/1.337, allocations: 0.4896 MB / 0.9687 GB, free: 18.29 MB / 0.7325 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.003316/1.34, allocations: 2.387 MB / 0.971 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005823/1.341, allocations: 356.6 kB / 0.9713 GB, free: 16.93 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/1.341, allocations: 212.6 kB / 0.9715 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006586/1.342, allocations: 320.4 kB / 0.9718 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.941e-05/1.342, allocations: 42.94 kB / 0.9719 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=36): time 1.953e-06/1.342, allocations: 0 / 0.9719 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36): time 0.001342/1.343, allocations: 0.5444 MB / 0.9724 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/1.343, allocations: 54.94 kB / 0.9725 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007866/1.344, allocations: 0.4935 MB / 0.9729 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/1.344, allocations: 38.83 kB / 0.973 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/1.345, allocations: 314.5 kB / 0.9733 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/1.345, allocations: 131.8 kB / 0.9734 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/1.345, allocations: 7.438 kB / 0.9734 GB, free: 16.06 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.345, allocations: 368.3 kB / 0.9738 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/1.345, allocations: 141.6 kB / 0.9739 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003833/1.346, allocations: 263.6 kB / 0.9741 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/1.346, allocations: 186.6 kB / 0.9743 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.346, allocations: 0 / 0.9743 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007677/1.347, allocations: 481.3 kB / 0.9748 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/1.347, allocations: 157.4 kB / 0.9749 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/1.347, allocations: 3.406 kB / 0.9749 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.357e-05/1.347, allocations: 3.312 kB / 0.9749 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006049/1.347, allocations: 100.8 kB / 0.975 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004177/1.348, allocations: 0.5917 MB / 0.9756 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/1.349, allocations: 71.78 kB / 0.9757 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/1.349, allocations: 23.53 kB / 0.9757 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/1.349, allocations: 3.031 kB / 0.9757 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005842/1.349, allocations: 403.4 kB / 0.9761 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/1.349, allocations: 2.688 kB / 0.9761 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/1.349, allocations: 2.719 kB / 0.9761 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/1.35, allocations: 91.97 kB / 0.9762 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.35, allocations: 7.25 kB / 0.9762 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/1.35, allocations: 71.09 kB / 0.9763 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/1.35, allocations: 18 kB / 0.9763 GB, free: 14.69 MB / 0.7325 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.0004126/1.351, allocations: 301.4 kB / 0.9766 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/1.351, allocations: 57.66 kB / 0.9766 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007116/1.352, allocations: 445.6 kB / 0.977 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/1.352, allocations: 6.344 kB / 0.977 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.352, allocations: 0 / 0.977 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006003/1.352, allocations: 0.648 MB / 0.9777 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/1.354, allocations: 1.201 MB / 0.9789 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.354, allocations: 4.719 kB / 0.9789 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/1.355, allocations: 105.3 kB / 0.979 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.868e-06/1.355, allocations: 7.328 kB / 0.979 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/1.355, allocations: 14.47 kB / 0.979 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003202/1.355, allocations: 0.5976 MB / 0.9796 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.355, allocations: 0 / 0.9796 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/1.356, allocations: 0.7376 MB / 0.9803 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/1.356, allocations: 177.4 kB / 0.9805 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/1.357, allocations: 7.281 kB / 0.9805 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005395/1.357, allocations: 46.86 kB / 0.9805 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.247e-05/1.357, allocations: 23.75 kB / 0.9805 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/1.357, allocations: 20.8 kB / 0.9805 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005248/1.358, allocations: 349.6 kB / 0.9809 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.358, allocations: 0 / 0.9809 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001444/1.359, allocations: 347.4 kB / 0.9812 GB, free: 12.31 MB / 0.7325 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.00187/1.361, allocations: 1.369 MB / 0.9826 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001159/1.362, allocations: 0.5734 MB / 0.9831 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.362, allocations: 4.125 kB / 0.9831 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002838/1.363, allocations: 190.4 kB / 0.9833 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/1.364, allocations: 358.1 kB / 0.9836 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006176/1.37, allocations: 3.691 MB / 0.9872 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005947/1.371, allocations: 0.9427 MB / 0.9882 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008118/1.372, allocations: 202.6 kB / 0.9884 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/1.372, allocations: 219.7 kB / 0.9886 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of SimCode: time 9.22e-07/1.372, allocations: 0 / 0.9886 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04116/1.413, allocations: 16.89 MB / 1.005 GB, free: 368 kB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/1.414, allocations: 244.5 kB / 1.005 GB, free: 84 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/3.583, allocations: 3.625 kB / 1.005 GB, free: 84 kB / 0.7325 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) Environment - environmentSimulation: