Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.61/1.61, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.001045/0.001045, allocations: 176.5 kB / 372.2 MB, free: 10.12 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.32/1.32, allocations: 205.4 MB / 0.631 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007244/0.0007248, allocations: 92.23 kB / 0.7444 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005349/0.0005351, allocations: 13.09 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2009, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.5519/0.7529, allocations: 169.9 MB / 1.146 GB, free: 12.29 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006645/0.7596, allocations: 4.258 MB / 1.15 GB, free: 10.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009239/0.7606, allocations: 24.28 kB / 1.15 GB, free: 10.9 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.7617, allocations: 315.6 kB / 1.151 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003762/0.7654, allocations: 1.166 MB / 1.152 GB, free: 9.953 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.7676, allocations: 0.5932 MB / 1.152 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002792/0.7704, allocations: 2.314 MB / 1.155 GB, free: 8.461 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008666/0.7712, allocations: 0.5376 MB / 1.155 GB, free: 8.133 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.7739, allocations: 0.9139 MB / 1.156 GB, free: 7.617 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.775, allocations: 0.5577 MB / 1.157 GB, free: 7.316 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.106e-05/0.775, allocations: 27.56 kB / 1.157 GB, free: 7.316 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003107/0.7782, allocations: 1.526 MB / 1.158 GB, free: 6.457 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003222/0.7785, allocations: 251.6 kB / 1.158 GB, free: 6.297 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.779, allocations: 375.7 kB / 1.159 GB, free: 6.07 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.7808, allocations: 1.065 MB / 1.16 GB, free: 5.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7808, allocations: 0 / 1.16 GB, free: 5.41 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7808, allocations: 0 / 1.16 GB, free: 5.41 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.7808, allocations: 1.375 kB / 1.16 GB, free: 5.41 MB / 0.698 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.001802/0.7826, allocations: 0.9613 MB / 1.161 GB, free: 4.613 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.154e-05/0.7827, allocations: 9.219 kB / 1.161 GB, free: 4.613 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001398/0.7828, allocations: 94.27 kB / 1.161 GB, free: 4.531 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.7841, allocations: 201 kB / 1.161 GB, free: 4.441 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.7852, allocations: 0.5683 MB / 1.161 GB, free: 3.969 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.609e-05/0.7853, allocations: 44.06 kB / 1.162 GB, free: 3.949 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.29e-05/0.7854, allocations: 51.66 kB / 1.162 GB, free: 3.934 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.7865, allocations: 0.6228 MB / 1.162 GB, free: 3.551 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.7865, allocations: 0.7812 kB / 1.162 GB, free: 3.551 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.606e-05/0.7866, allocations: 20.72 kB / 1.162 GB, free: 3.535 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.7866, allocations: 22.91 kB / 1.162 GB, free: 3.531 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00077/0.7874, allocations: 494.9 kB / 1.163 GB, free: 3.297 MB / 0.698 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.002899/0.7903, allocations: 2.402 MB / 1.165 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005282/0.7908, allocations: 349.8 kB / 1.165 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002745/0.7911, allocations: 207.6 kB / 1.166 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/0.7917, allocations: 321.2 kB / 1.166 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.7917, allocations: 41.19 kB / 1.166 GB, free: 0.543 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.034e-06/0.7918, allocations: 0 / 1.166 GB, free: 0.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001097/0.7929, allocations: 0.537 MB / 1.166 GB, free: 280 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.7929, allocations: 63 kB / 1.167 GB, free: 208 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005899/0.7935, allocations: 498.8 kB / 1.167 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.7936, allocations: 36.42 kB / 1.167 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.7938, allocations: 317.2 kB / 1.167 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.794, allocations: 131.5 kB / 1.167 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.794, allocations: 10.12 kB / 1.167 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.7941, allocations: 359.5 kB / 1.168 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.7944, allocations: 147.8 kB / 1.168 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.7947, allocations: 258.9 kB / 1.168 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.7952, allocations: 405.2 kB / 1.169 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.7952, allocations: 0 / 1.169 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006933/0.7959, allocations: 486.4 kB / 1.169 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-05/0.796, allocations: 153 kB / 1.169 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.7961, allocations: 2.75 kB / 1.169 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.7961, allocations: 7.953 kB / 1.169 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005787/0.7967, allocations: 105.9 kB / 1.169 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003718/0.7971, allocations: 0.5882 MB / 1.17 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006296/0.7977, allocations: 76.58 kB / 1.17 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.7977, allocations: 17.81 kB / 1.17 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.175e-06/0.7978, allocations: 3.188 kB / 1.17 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006186/0.7984, allocations: 404.4 kB / 1.17 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7984, allocations: 2.125 kB / 1.17 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.7984, allocations: 17.27 kB / 1.17 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.7988, allocations: 88.62 kB / 1.17 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7988, allocations: 7.406 kB / 1.17 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.7993, allocations: 59.23 kB / 1.171 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.7993, allocations: 20.62 kB / 1.171 GB, free: 13.2 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.000395/0.7997, allocations: 299.9 kB / 1.171 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.7998, allocations: 70.06 kB / 1.171 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007378/0.8006, allocations: 438.8 kB / 1.171 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.8006, allocations: 3.938 kB / 1.171 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.8006, allocations: 1.375 kB / 1.171 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006359/0.8013, allocations: 0.6463 MB / 1.172 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001773/0.803, allocations: 1.214 MB / 1.173 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.8031, allocations: 2.906 kB / 1.173 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.8035, allocations: 103.2 kB / 1.173 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.8035, allocations: 3.125 kB / 1.173 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.8036, allocations: 13.88 kB / 1.173 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003079/0.8039, allocations: 0.5856 MB / 1.174 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.8039, allocations: 7.188 kB / 1.174 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008797/0.8048, allocations: 0.731 MB / 1.175 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002705/0.8051, allocations: 180.6 kB / 1.175 GB, free: 9.879 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.266e-05/0.8052, allocations: 17.66 kB / 1.175 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.8056, allocations: 34.81 kB / 1.175 GB, free: 9.852 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.8057, allocations: 29.84 kB / 1.175 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.8057, allocations: 14.81 kB / 1.175 GB, free: 9.832 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003862/0.8061, allocations: 350.6 kB / 1.175 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8061, allocations: 0 / 1.175 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009146/0.807, allocations: 342.7 kB / 1.175 GB, free: 9.559 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.001467/0.8085, allocations: 1.376 MB / 1.177 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.8096, allocations: 0.5781 MB / 1.177 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.8096, allocations: 2.469 kB / 1.177 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.8099, allocations: 187.6 kB / 1.178 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/0.8117, allocations: 359.8 kB / 1.178 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/0.8171, allocations: 3.682 MB / 1.181 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.8176, allocations: 0.9385 MB / 1.182 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007563/0.8184, allocations: 204 kB / 1.183 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.8187, allocations: 222.2 kB / 1.183 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.162e-06/0.8187, allocations: 3.938 kB / 1.183 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5096/1.328, allocations: 17.07 MB / 1.199 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003086/1.329, allocations: 245.5 kB / 1.2 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.067/4.396, allocations: 3.938 kB / 1.2 GB, free: 9.023 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)