Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_9_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.0007843/0.0007846, allocations: 86.8 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.0008675/0.0008675, 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 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.562/2.562, allocations: 390.4 MB / 0.6655 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 16 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.842/0.8424, allocations: 142.3 MB / 0.9538 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1988/1.041, allocations: 169.9 MB / 1.12 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006981/1.048, allocations: 4.295 MB / 1.124 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007163/1.049, allocations: 19.88 kB / 1.124 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008822/1.05, allocations: 274.2 kB / 1.124 GB, free: 1.125 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002561/1.053, allocations: 0.9992 MB / 1.125 GB, free: 124 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/1.054, allocations: 0.5889 MB / 1.126 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002507/1.057, allocations: 2.303 MB / 1.128 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007385/1.057, allocations: 499.3 kB / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0019/1.059, allocations: 0.8481 MB / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008459/1.06, allocations: 0.5642 MB / 1.13 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.856e-05/1.06, allocations: 28 kB / 1.13 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001957/1.062, allocations: 0.873 MB / 1.131 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002653/1.063, allocations: 239.3 kB / 1.131 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002135/1.063, allocations: 173.3 kB / 1.131 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/1.064, allocations: 1.009 MB / 1.132 GB, free: 8.984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.064, allocations: 3.938 kB / 1.132 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.093e-06/1.064, allocations: 0 / 1.132 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.064, allocations: 4 kB / 1.132 GB, free: 8.977 MB / 0.8887 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.001425/1.065, allocations: 0.9504 MB / 1.133 GB, free: 7.977 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/1.066, allocations: 8.031 kB / 1.133 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/1.066, allocations: 94.52 kB / 1.133 GB, free: 7.867 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/1.067, allocations: 206.9 kB / 1.133 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008541/1.068, allocations: 0.5601 MB / 1.134 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/1.068, allocations: 45.31 kB / 1.134 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.843e-05/1.068, allocations: 59.97 kB / 1.134 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009563/1.069, allocations: 0.6245 MB / 1.135 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/1.069, allocations: 0 / 1.135 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/1.069, allocations: 20 kB / 1.135 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.06e-05/1.069, allocations: 17.31 kB / 1.135 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007479/1.07, allocations: 0.493 MB / 1.135 GB, free: 5.793 MB / 0.8887 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.002727/1.072, allocations: 2.388 MB / 1.138 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/1.073, allocations: 366.3 kB / 1.138 GB, free: 2.828 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/1.073, allocations: 209.8 kB / 1.138 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/1.074, allocations: 323.2 kB / 1.138 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/1.074, allocations: 30.56 kB / 1.138 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=36): time 2.184e-06/1.074, allocations: 0 / 1.138 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of matching and sorting (n=36): time 0.00114/1.075, allocations: 0.5599 MB / 1.139 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/1.075, allocations: 59.41 kB / 1.139 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/1.076, allocations: 0.495 MB / 1.139 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/1.076, allocations: 33.7 kB / 1.14 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/1.076, allocations: 311.9 kB / 1.14 GB, free: 0.7188 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/1.076, allocations: 130 kB / 1.14 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.108e-05/1.076, allocations: 12 kB / 1.14 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001563/1.076, allocations: 366.8 kB / 1.14 GB, free: 216 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/1.077, allocations: 140.8 kB / 1.14 GB, free: 76 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/1.077, allocations: 255.8 kB / 1.141 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/1.077, allocations: 189.5 kB / 1.141 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.077, allocations: 7.938 kB / 1.141 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006869/1.078, allocations: 481.8 kB / 1.141 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.078, allocations: 160.7 kB / 1.141 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/1.078, allocations: 4 kB / 1.141 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/1.078, allocations: 4 kB / 1.141 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/1.079, allocations: 99.81 kB / 1.142 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004033/1.079, allocations: 0.5977 MB / 1.142 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/1.08, allocations: 79.58 kB / 1.142 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/1.08, allocations: 12 kB / 1.142 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.938e-06/1.08, allocations: 4 kB / 1.142 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006044/1.08, allocations: 407.8 kB / 1.143 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/1.08, allocations: 288 / 1.143 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/1.08, allocations: 11.95 kB / 1.143 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/1.081, allocations: 91.84 kB / 1.143 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/1.081, allocations: 4 kB / 1.143 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004505/1.081, allocations: 71.61 kB / 1.143 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/1.081, allocations: 23.98 kB / 1.143 GB, free: 13.51 MB / 0.9044 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.000366/1.081, allocations: 301 kB / 1.143 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/1.082, allocations: 55.34 kB / 1.143 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007171/1.082, allocations: 447.6 kB / 1.144 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.082, allocations: 7.953 kB / 1.144 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.082, allocations: 0 / 1.144 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006151/1.083, allocations: 0.6571 MB / 1.144 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/1.085, allocations: 1.208 MB / 1.145 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.085, allocations: 4 kB / 1.145 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000443/1.085, allocations: 87.89 kB / 1.146 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/1.085, allocations: 4 kB / 1.146 GB, free: 10.58 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.257e-05/1.085, allocations: 15.98 kB / 1.146 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003268/1.085, allocations: 0.594 MB / 1.146 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.085, allocations: 0 / 1.146 GB, free: 9.945 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008711/1.086, allocations: 0.7117 MB / 1.147 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/1.087, allocations: 176.4 kB / 1.147 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/1.087, allocations: 12 kB / 1.147 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/1.087, allocations: 35.97 kB / 1.147 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.752e-05/1.087, allocations: 31.86 kB / 1.147 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/1.087, allocations: 12 kB / 1.147 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003967/1.088, allocations: 358.8 kB / 1.147 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.8e-07/1.088, allocations: 0 / 1.147 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009188/1.088, allocations: 351.1 kB / 1.148 GB, free: 8.223 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.001518/1.09, allocations: 1.339 MB / 1.149 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001084/1.091, allocations: 0.5783 MB / 1.15 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.091, allocations: 1.125 kB / 1.15 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/1.091, allocations: 188.3 kB / 1.15 GB, free: 6.086 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/1.093, allocations: 361.1 kB / 1.15 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005051/1.098, allocations: 3.728 MB / 1.154 GB, free: 1.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/1.099, allocations: 0.9414 MB / 1.155 GB, free: 0.9375 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0006708/1.099, allocations: 204.9 kB / 1.155 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/1.1, allocations: 215.4 kB / 1.155 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of SimCode: time 4.91e-07/1.1, allocations: 0 / 1.155 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/1.13, allocations: 16.91 MB / 1.172 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/1.131, allocations: 248.7 kB / 1.172 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.2/3.33, allocations: 3.938 kB / 1.172 GB, free: 15.61 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_MassFraction.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sensors.Examples.MassFraction_res.mat does not exist to compare? outputFormat=mat