Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 170.6 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.923/1.923, allocations: 205.4 MB / 0.5775 GB, free: 20.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008861/0.0008859, allocations: 98.16 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 8.438 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2456, allocations: 106.4 MB / 0.9002 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1832/0.4289, allocations: 155.5 MB / 1.052 GB, free: 4.469 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6038/1.033, allocations: 4.492 MB / 1.056 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001303/1.034, allocations: 23.81 kB / 1.056 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/1.036, allocations: 436.1 kB / 1.057 GB, free: 4.004 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004504/1.04, allocations: 1.237 MB / 1.058 GB, free: 3.992 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002967/1.043, allocations: 0.8905 MB / 1.059 GB, free: 3.98 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002388/1.046, allocations: 1.144 MB / 1.06 GB, free: 3.98 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009508/1.047, allocations: 0.5093 MB / 1.061 GB, free: 3.906 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001938/1.049, allocations: 0.7408 MB / 1.061 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007376/1.049, allocations: 375 kB / 1.062 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/1.049, allocations: 27.84 kB / 1.062 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/1.051, allocations: 0.6847 MB / 1.062 GB, free: 3.902 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000341/1.052, allocations: 232.4 kB / 1.063 GB, free: 3.898 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005442/1.052, allocations: 174.1 kB / 1.063 GB, free: 19.87 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001697/1.054, allocations: 0.9385 MB / 1.064 GB, free: 19.8 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/1.054, allocations: 0 / 1.064 GB, free: 19.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.903e-06/1.054, allocations: 0 / 1.064 GB, free: 19.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.312e-05/1.054, allocations: 0 / 1.064 GB, free: 19.8 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001663/1.056, allocations: 0.9337 MB / 1.065 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/1.056, allocations: 9.094 kB / 1.065 GB, free: 19.18 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/1.056, allocations: 98.41 kB / 1.065 GB, free: 19.14 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/1.057, allocations: 201 kB / 1.065 GB, free: 19.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/1.058, allocations: 0.5603 MB / 1.065 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/1.058, allocations: 39.69 kB / 1.065 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.822e-05/1.058, allocations: 55.81 kB / 1.065 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/1.059, allocations: 0.6159 MB / 1.066 GB, free: 18.76 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/1.06, allocations: 3.656 kB / 1.066 GB, free: 18.76 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.867e-05/1.06, allocations: 22.75 kB / 1.066 GB, free: 18.76 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.357e-05/1.06, allocations: 24.86 kB / 1.066 GB, free: 18.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/1.061, allocations: 0.4915 MB / 1.067 GB, free: 18.75 MB / 0.7136 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.004611/1.065, allocations: 2.397 MB / 1.069 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007369/1.066, allocations: 356.7 kB / 1.069 GB, free: 17.42 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005111/1.067, allocations: 144.3 kB / 1.069 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/1.067, allocations: 37.31 kB / 1.069 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=36): time 3.286e-06/1.067, allocations: 0 / 1.069 GB, free: 17.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=36): time 0.001474/1.068, allocations: 0.5387 MB / 1.07 GB, free: 17.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/1.068, allocations: 59.3 kB / 1.07 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008206/1.069, allocations: 496.4 kB / 1.071 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/1.069, allocations: 35.14 kB / 1.071 GB, free: 17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/1.069, allocations: 324.2 kB / 1.071 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/1.07, allocations: 124.5 kB / 1.071 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/1.07, allocations: 9.531 kB / 1.071 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002076/1.07, allocations: 364.7 kB / 1.071 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/1.07, allocations: 143 kB / 1.071 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/1.071, allocations: 250.2 kB / 1.072 GB, free: 16.35 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/1.071, allocations: 179.9 kB / 1.072 GB, free: 16.34 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/1.071, allocations: 1.359 kB / 1.072 GB, free: 16.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000914/1.072, allocations: 483.3 kB / 1.072 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004545/1.072, allocations: 0.8729 MB / 1.073 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/1.072, allocations: 3.703 kB / 1.073 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.763e-05/1.072, allocations: 3.875 kB / 1.073 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007652/1.073, allocations: 102.6 kB / 1.073 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005078/1.074, allocations: 0.6036 MB / 1.074 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/1.075, allocations: 69.19 kB / 1.074 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/1.075, allocations: 22.86 kB / 1.074 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.075, allocations: 4.031 kB / 1.074 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008672/1.075, allocations: 396.1 kB / 1.074 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.076, allocations: 5.141 kB / 1.074 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.076, allocations: 4.891 kB / 1.074 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004014/1.076, allocations: 88.7 kB / 1.074 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.076, allocations: 9.766 kB / 1.074 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/1.077, allocations: 68.7 kB / 1.075 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/1.077, allocations: 17.7 kB / 1.075 GB, free: 14.7 MB / 0.7136 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.0005895/1.077, allocations: 310.8 kB / 1.075 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.077, allocations: 56.44 kB / 1.075 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008822/1.078, allocations: 442.7 kB / 1.075 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/1.078, allocations: 3.594 kB / 1.075 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/1.078, allocations: 0.8438 kB / 1.075 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007905/1.079, allocations: 0.6496 MB / 1.076 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/1.081, allocations: 1.21 MB / 1.077 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.081, allocations: 1.406 kB / 1.077 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/1.082, allocations: 94.12 kB / 1.077 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/1.082, allocations: 4.812 kB / 1.077 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/1.082, allocations: 11.47 kB / 1.077 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003486/1.082, allocations: 0.5922 MB / 1.078 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/1.082, allocations: 2.219 kB / 1.078 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/1.083, allocations: 0.8116 MB / 1.079 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003749/1.084, allocations: 182.4 kB / 1.079 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/1.084, allocations: 9.625 kB / 1.079 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/1.084, allocations: 39.88 kB / 1.079 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/1.084, allocations: 30.45 kB / 1.079 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/1.085, allocations: 13.44 kB / 1.079 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005695/1.085, allocations: 355.8 kB / 1.079 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.91e-07/1.085, allocations: 0 / 1.079 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001378/1.087, allocations: 357 kB / 1.08 GB, free: 12.38 MB / 0.7136 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.002317/1.089, allocations: 1.924 MB / 1.081 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001494/1.09, allocations: 0.5693 MB / 1.082 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.09, allocations: 3.625 kB / 1.082 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/1.091, allocations: 183.7 kB / 1.082 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/1.093, allocations: 360.9 kB / 1.083 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007887/1.101, allocations: 4.993 MB / 1.087 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008085/1.101, allocations: 0.9603 MB / 1.088 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001079/1.103, allocations: 205.2 kB / 1.089 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/1.103, allocations: 222.4 kB / 1.089 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of SimCode: time 1.823e-06/1.103, allocations: 0 / 1.089 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04303/1.146, allocations: 16.87 MB / 1.105 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/1.146, allocations: 257.7 kB / 1.105 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.592/3.738, allocations: 0 / 1.105 GB, free: 3.938 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)