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.707/1.707, allocations: 288.4 MB / 303.3 MB, free: 8.098 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.00105/0.00105, allocations: 191.3 kB / 372 MB, free: 10.24 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.804/1.804, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.000934/0.0009341, allocations: 85.62 kB / 0.744 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004394/0.0004396, allocations: 16.19 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2851/0.2856, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.9604/1.246, allocations: 169.9 MB / 1.146 GB, free: 11.92 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008382/1.255, allocations: 4.258 MB / 1.15 GB, free: 10.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/1.256, allocations: 24.03 kB / 1.15 GB, free: 10.57 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/1.257, allocations: 272.2 kB / 1.15 GB, free: 10.39 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004352/1.262, allocations: 0.9854 MB / 1.151 GB, free: 9.742 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/1.264, allocations: 0.5763 MB / 1.152 GB, free: 9.488 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003713/1.268, allocations: 2.293 MB / 1.154 GB, free: 8.668 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009767/1.269, allocations: 0.4957 MB / 1.154 GB, free: 8.445 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/1.272, allocations: 0.8584 MB / 1.155 GB, free: 7.992 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001077/1.273, allocations: 0.5569 MB / 1.156 GB, free: 7.691 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/1.273, allocations: 28.22 kB / 1.156 GB, free: 7.691 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/1.276, allocations: 0.8724 MB / 1.157 GB, free: 7.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003819/1.276, allocations: 246.8 kB / 1.157 GB, free: 7.074 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003253/1.276, allocations: 173.9 kB / 1.157 GB, free: 6.977 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/1.278, allocations: 1.002 MB / 1.158 GB, free: 6.348 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/1.278, allocations: 0 / 1.158 GB, free: 6.348 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.765e-06/1.278, allocations: 3.938 kB / 1.158 GB, free: 6.344 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.905e-05/1.278, allocations: 0 / 1.158 GB, free: 6.344 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.001837/1.28, allocations: 0.9484 MB / 1.159 GB, free: 5.566 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/1.28, allocations: 8.781 kB / 1.159 GB, free: 5.566 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/1.28, allocations: 94.67 kB / 1.159 GB, free: 5.484 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/1.282, allocations: 208.5 kB / 1.159 GB, free: 5.387 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/1.283, allocations: 0.5563 MB / 1.16 GB, free: 4.926 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/1.283, allocations: 39.97 kB / 1.16 GB, free: 4.91 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/1.283, allocations: 55.62 kB / 1.16 GB, free: 4.891 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/1.284, allocations: 0.6152 MB / 1.16 GB, free: 4.516 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/1.284, allocations: 1.562 kB / 1.16 GB, free: 4.516 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/1.284, allocations: 20.03 kB / 1.16 GB, free: 4.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/1.284, allocations: 26.69 kB / 1.16 GB, free: 4.492 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009303/1.285, allocations: 0.495 MB / 1.161 GB, free: 4.246 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.003571/1.289, allocations: 2.382 MB / 1.163 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/1.29, allocations: 348.7 kB / 1.164 GB, free: 1.973 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003971/1.29, allocations: 214.7 kB / 1.164 GB, free: 1.867 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007262/1.291, allocations: 320.3 kB / 1.164 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/1.291, allocations: 41.02 kB / 1.164 GB, free: 1.508 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.514e-06/1.291, allocations: 0 / 1.164 GB, free: 1.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.00133/1.292, allocations: 0.5486 MB / 1.165 GB, free: 1.227 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.292, allocations: 54.78 kB / 1.165 GB, free: 1.164 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006861/1.293, allocations: 0.496 MB / 1.165 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/1.293, allocations: 31.52 kB / 1.165 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/1.293, allocations: 313.8 kB / 1.166 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/1.293, allocations: 137.7 kB / 1.166 GB, free: 436 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-05/1.293, allocations: 7.156 kB / 1.166 GB, free: 432 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001767/1.293, allocations: 367.8 kB / 1.166 GB, free: 68 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003186/1.294, allocations: 139.4 kB / 1.166 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003824/1.294, allocations: 267.7 kB / 1.166 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/1.295, allocations: 182.9 kB / 1.167 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.295, allocations: 1.438 kB / 1.167 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008576/1.295, allocations: 486.3 kB / 1.167 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.296, allocations: 150.3 kB / 1.167 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.296, allocations: 2.562 kB / 1.167 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.296, allocations: 7.625 kB / 1.167 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/1.296, allocations: 109.7 kB / 1.167 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004023/1.297, allocations: 0.589 MB / 1.168 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006771/1.297, allocations: 75.19 kB / 1.168 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/1.297, allocations: 22.27 kB / 1.168 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/1.297, allocations: 4.344 kB / 1.168 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007007/1.298, allocations: 408 kB / 1.168 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.298, allocations: 2.75 kB / 1.168 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/1.298, allocations: 4.125 kB / 1.168 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/1.299, allocations: 88.64 kB / 1.168 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/1.299, allocations: 5.5 kB / 1.168 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/1.299, allocations: 65.92 kB / 1.169 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/1.299, allocations: 17.75 kB / 1.169 GB, free: 14.32 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.0004212/1.3, allocations: 306.4 kB / 1.169 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/1.3, allocations: 54.84 kB / 1.169 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007892/1.3, allocations: 447.6 kB / 1.169 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/1.3, allocations: 2.844 kB / 1.169 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/1.3, allocations: 0.75 kB / 1.169 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007587/1.301, allocations: 0.6508 MB / 1.17 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/1.303, allocations: 1.202 MB / 1.171 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.303, allocations: 1.312 kB / 1.171 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/1.304, allocations: 92.22 kB / 1.171 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/1.304, allocations: 4.5 kB / 1.171 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/1.304, allocations: 20.3 kB / 1.171 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003847/1.304, allocations: 0.5947 MB / 1.172 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.304, allocations: 2.188 kB / 1.172 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/1.306, allocations: 0.7371 MB / 1.173 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003177/1.306, allocations: 181.7 kB / 1.173 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/1.306, allocations: 13.08 kB / 1.173 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/1.306, allocations: 39.5 kB / 1.173 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/1.307, allocations: 26.78 kB / 1.173 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/1.307, allocations: 14.86 kB / 1.173 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000478/1.307, allocations: 356.9 kB / 1.173 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.307, allocations: 4 kB / 1.173 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001128/1.308, allocations: 338.2 kB / 1.173 GB, free: 10.68 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.001758/1.31, allocations: 1.382 MB / 1.175 GB, free: 9.605 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001264/1.311, allocations: 0.5793 MB / 1.175 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/1.311, allocations: 0 / 1.175 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003042/1.312, allocations: 192.8 kB / 1.176 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/1.313, allocations: 356.4 kB / 1.176 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/1.319, allocations: 3.689 MB / 1.179 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/1.32, allocations: 0.9312 MB / 1.18 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000839/1.32, allocations: 211.3 kB / 1.181 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/1.321, allocations: 218 kB / 1.181 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of SimCode: time 1.142e-06/1.321, allocations: 0 / 1.181 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/1.364, allocations: 16.91 MB / 1.197 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000354/1.364, allocations: 253.4 kB / 1.198 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.699/4.063, allocations: 7.938 kB / 1.198 GB, free: 10.88 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)