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.704/1.704, allocations: 288.2 MB / 303.2 MB, free: 8.23 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.001115/0.001116, allocations: 183.5 kB / 371.8 MB, free: 10.27 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.593/1.593, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.0009116/0.0009115, allocations: 102.7 kB / 0.7439 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004411/0.0004412, allocations: 16.66 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2308, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.699/0.9298, allocations: 155.3 MB / 1.131 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00789/0.9378, allocations: 4.416 MB / 1.135 GB, free: 260 kB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.9392, allocations: 22.12 kB / 1.135 GB, free: 248 kB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.9407, allocations: 437.3 kB / 1.136 GB, free: 168 kB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.005362/0.946, allocations: 1.217 MB / 1.137 GB, free: 100 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.9494, allocations: 0.8436 MB / 1.138 GB, free: 60 kB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002619/0.9521, allocations: 1.137 MB / 1.139 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009567/0.953, allocations: 0.4982 MB / 1.14 GB, free: 15.76 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.955, allocations: 0.7298 MB / 1.14 GB, free: 15.49 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007781/0.9558, allocations: 369.9 kB / 1.141 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.697e-05/0.9559, allocations: 28.03 kB / 1.141 GB, free: 15.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.9578, allocations: 0.6855 MB / 1.141 GB, free: 15.16 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.9581, allocations: 220.5 kB / 1.141 GB, free: 15.08 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.9584, allocations: 174.8 kB / 1.142 GB, free: 15.02 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.9596, allocations: 0.9213 MB / 1.143 GB, free: 14.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.9596, allocations: 0 / 1.143 GB, free: 14.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.744e-06/0.9597, allocations: 0 / 1.143 GB, free: 14.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.9597, allocations: 0 / 1.143 GB, free: 14.52 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.001575/0.9613, allocations: 0.9312 MB / 1.143 GB, free: 13.81 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.9613, allocations: 11.05 kB / 1.143 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/0.9614, allocations: 93.3 kB / 1.144 GB, free: 13.76 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/0.9627, allocations: 207.7 kB / 1.144 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.9637, allocations: 0.5492 MB / 1.144 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.9638, allocations: 40.88 kB / 1.144 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/0.9639, allocations: 55.84 kB / 1.144 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.9649, allocations: 0.6093 MB / 1.145 GB, free: 13.12 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.965, allocations: 5.047 kB / 1.145 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.1e-05/0.965, allocations: 25.31 kB / 1.145 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-05/0.9651, allocations: 24.17 kB / 1.145 GB, free: 13.11 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007448/0.9658, allocations: 496 kB / 1.146 GB, free: 13.02 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.003177/0.969, allocations: 2.385 MB / 1.148 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/0.9696, allocations: 361.1 kB / 1.148 GB, free: 11.26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004043/0.97, allocations: 141.9 kB / 1.148 GB, free: 11.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.97, allocations: 36.31 kB / 1.148 GB, free: 11.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 6.863e-06/0.97, allocations: 3.984 kB / 1.148 GB, free: 11.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001175/0.9712, allocations: 0.552 MB / 1.149 GB, free: 10.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.9713, allocations: 55.16 kB / 1.149 GB, free: 10.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006173/0.9719, allocations: 499.9 kB / 1.149 GB, free: 10.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.972, allocations: 34.95 kB / 1.149 GB, free: 10.67 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.9722, allocations: 316.9 kB / 1.15 GB, free: 10.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.9723, allocations: 137.7 kB / 1.15 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.892e-05/0.9724, allocations: 4.094 kB / 1.15 GB, free: 10.39 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.9725, allocations: 367.8 kB / 1.15 GB, free: 10.06 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.9727, allocations: 145.8 kB / 1.15 GB, free: 10.03 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.9731, allocations: 259.6 kB / 1.151 GB, free: 9.887 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.9734, allocations: 187.3 kB / 1.151 GB, free: 9.863 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9734, allocations: 0 / 1.151 GB, free: 9.863 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007473/0.9741, allocations: 485.2 kB / 1.151 GB, free: 9.734 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003945/0.9745, allocations: 0.8754 MB / 1.152 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.9745, allocations: 3.5 kB / 1.152 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.9746, allocations: 3.938 kB / 1.152 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.9752, allocations: 102.2 kB / 1.152 GB, free: 8.797 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004315/0.9757, allocations: 0.5984 MB / 1.153 GB, free: 8.199 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006936/0.9764, allocations: 75.23 kB / 1.153 GB, free: 8.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.852e-05/0.9764, allocations: 16.62 kB / 1.153 GB, free: 8.16 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.9765, allocations: 4.156 kB / 1.153 GB, free: 8.16 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006741/0.9771, allocations: 398.9 kB / 1.153 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.9772, allocations: 2.469 kB / 1.153 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.297e-06/0.9772, allocations: 5.188 kB / 1.153 GB, free: 8.047 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.9776, allocations: 91.83 kB / 1.153 GB, free: 8.023 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.9776, allocations: 4.562 kB / 1.153 GB, free: 8.023 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006007/0.9782, allocations: 73.02 kB / 1.153 GB, free: 7.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.9783, allocations: 21.42 kB / 1.153 GB, free: 7.973 MB / 0.698 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.0004692/0.9788, allocations: 308.9 kB / 1.154 GB, free: 7.711 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.9789, allocations: 55.03 kB / 1.154 GB, free: 7.684 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007844/0.9797, allocations: 447.8 kB / 1.154 GB, free: 7.414 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.9797, allocations: 2.562 kB / 1.154 GB, free: 7.414 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.9797, allocations: 1.312 kB / 1.154 GB, free: 7.414 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007279/0.9805, allocations: 0.6605 MB / 1.155 GB, free: 6.824 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001967/0.9824, allocations: 1.189 MB / 1.156 GB, free: 5.945 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.9825, allocations: 7.281 kB / 1.156 GB, free: 5.941 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/0.983, allocations: 91.11 kB / 1.156 GB, free: 5.922 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/0.983, allocations: 3.375 kB / 1.156 GB, free: 5.922 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.983, allocations: 13.92 kB / 1.156 GB, free: 5.914 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003777/0.9834, allocations: 0.5981 MB / 1.157 GB, free: 5.309 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.9834, allocations: 2.188 kB / 1.157 GB, free: 5.309 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.9847, allocations: 0.8117 MB / 1.158 GB, free: 4.703 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.985, allocations: 184.3 kB / 1.158 GB, free: 4.535 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.946e-05/0.9851, allocations: 8.688 kB / 1.158 GB, free: 4.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.9856, allocations: 43.91 kB / 1.158 GB, free: 4.508 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.9856, allocations: 33.06 kB / 1.158 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.9857, allocations: 13.75 kB / 1.158 GB, free: 4.484 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004727/0.9861, allocations: 352.3 kB / 1.158 GB, free: 4.273 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9861, allocations: 1.969 kB / 1.158 GB, free: 4.273 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001426/0.9876, allocations: 342.6 kB / 1.158 GB, free: 4.211 MB / 0.698 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.002212/0.9898, allocations: 1.938 MB / 1.16 GB, free: 2.551 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.9912, allocations: 0.5705 MB / 1.161 GB, free: 2.301 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.9913, allocations: 2.156 kB / 1.161 GB, free: 2.301 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.9916, allocations: 191.2 kB / 1.161 GB, free: 2.215 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/0.9935, allocations: 356.6 kB / 1.161 GB, free: 2.035 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006606/1, allocations: 5.011 MB / 1.166 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/1.001, allocations: 0.9532 MB / 1.167 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001004/1.002, allocations: 207.3 kB / 1.167 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/1.002, allocations: 217.9 kB / 1.168 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of SimCode: time 2.064e-06/1.002, allocations: 0 / 1.168 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/1.039, allocations: 16.88 MB / 1.184 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/1.039, allocations: 244.2 kB / 1.184 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/3.58, allocations: 2.75 kB / 1.184 GB, free: 4.758 MB / 0.7136 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)