Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.681/1.681, allocations: 287.5 MB / 302.6 MB, free: 8.184 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.001207/0.001207, allocations: 186.6 kB / 371.2 MB, free: 10.82 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.741/1.741, allocations: 205.4 MB / 0.6299 GB, free: 10.56 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.0007615/0.0007615, allocations: 98.17 kB / 0.7432 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003993, allocations: 12.84 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.255, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.7772/1.032, allocations: 169.9 MB / 1.145 GB, free: 11.98 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008353/1.041, allocations: 4.268 MB / 1.149 GB, free: 10.72 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/1.042, allocations: 28.53 kB / 1.149 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/1.043, allocations: 274.5 kB / 1.149 GB, free: 10.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003787/1.047, allocations: 0.9874 MB / 1.15 GB, free: 10.18 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/1.049, allocations: 0.5788 MB / 1.151 GB, free: 10.05 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003616/1.053, allocations: 2.313 MB / 1.153 GB, free: 9.434 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009889/1.054, allocations: 0.5273 MB / 1.153 GB, free: 9.211 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/1.056, allocations: 0.858 MB / 1.154 GB, free: 8.828 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009935/1.057, allocations: 0.5663 MB / 1.155 GB, free: 8.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9e-05/1.057, allocations: 27.84 kB / 1.155 GB, free: 8.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00262/1.06, allocations: 0.8725 MB / 1.156 GB, free: 8.141 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003541/1.06, allocations: 246.9 kB / 1.156 GB, free: 7.984 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003655/1.061, allocations: 173.8 kB / 1.156 GB, free: 7.887 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/1.062, allocations: 0.9958 MB / 1.157 GB, free: 7.262 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/1.062, allocations: 0 / 1.157 GB, free: 7.262 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.547e-06/1.062, allocations: 1 kB / 1.157 GB, free: 7.262 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.151e-05/1.062, allocations: 0 / 1.157 GB, free: 7.262 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.001689/1.064, allocations: 0.9578 MB / 1.158 GB, free: 6.469 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.064, allocations: 9.281 kB / 1.158 GB, free: 6.469 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/1.065, allocations: 197.6 kB / 1.158 GB, free: 6.383 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/1.067, allocations: 0.5756 MB / 1.159 GB, free: 5.902 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.321e-05/1.067, allocations: 39.47 kB / 1.159 GB, free: 5.887 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/1.067, allocations: 60 kB / 1.159 GB, free: 5.863 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/1.068, allocations: 0.612 MB / 1.159 GB, free: 5.492 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/1.068, allocations: 3.938 kB / 1.159 GB, free: 5.488 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.562e-05/1.068, allocations: 24.92 kB / 1.159 GB, free: 5.469 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.409e-05/1.068, allocations: 22.38 kB / 1.159 GB, free: 5.465 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009119/1.069, allocations: 499.8 kB / 1.16 GB, free: 5.227 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.003231/1.072, allocations: 2.385 MB / 1.162 GB, free: 3.133 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006692/1.073, allocations: 352.6 kB / 1.163 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/1.073, allocations: 207.3 kB / 1.163 GB, free: 2.844 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/1.074, allocations: 329 kB / 1.163 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/1.074, allocations: 40.69 kB / 1.163 GB, free: 2.477 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.104e-06/1.074, allocations: 1.125 kB / 1.163 GB, free: 2.477 MB / 0.698 GB Notification: Performance of matching and sorting (n=36): time 0.001259/1.075, allocations: 0.5355 MB / 1.164 GB, free: 2.207 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/1.075, allocations: 56.38 kB / 1.164 GB, free: 2.145 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/1.076, allocations: 0.4937 MB / 1.164 GB, free: 1.836 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/1.076, allocations: 40.83 kB / 1.164 GB, free: 1.793 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002593/1.076, allocations: 312.8 kB / 1.165 GB, free: 1.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/1.076, allocations: 134.7 kB / 1.165 GB, free: 1.402 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.162e-05/1.076, allocations: 6.219 kB / 1.165 GB, free: 1.398 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001771/1.076, allocations: 363.5 kB / 1.165 GB, free: 1.047 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/1.077, allocations: 140.1 kB / 1.165 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003541/1.077, allocations: 272.4 kB / 1.165 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005703/1.078, allocations: 399.1 kB / 1.166 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.078, allocations: 1.281 kB / 1.166 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000828/1.079, allocations: 489.8 kB / 1.166 GB, free: 256 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001127/1.079, allocations: 154.4 kB / 1.166 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.079, allocations: 5.25 kB / 1.166 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/1.079, allocations: 8.25 kB / 1.166 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/1.079, allocations: 97.34 kB / 1.166 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004286/1.08, allocations: 0.5955 MB / 1.167 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/1.081, allocations: 75.05 kB / 1.167 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/1.081, allocations: 17.47 kB / 1.167 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/1.081, allocations: 4.625 kB / 1.167 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007545/1.081, allocations: 399.7 kB / 1.168 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/1.081, allocations: 2.562 kB / 1.168 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/1.081, allocations: 8.469 kB / 1.168 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/1.082, allocations: 88.58 kB / 1.168 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.082, allocations: 8.906 kB / 1.168 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/1.082, allocations: 57.84 kB / 1.168 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.031e-05/1.082, allocations: 25.7 kB / 1.168 GB, free: 15.14 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.0004228/1.083, allocations: 304.2 kB / 1.168 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/1.083, allocations: 59.09 kB / 1.168 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007787/1.084, allocations: 440.1 kB / 1.168 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.084, allocations: 3.062 kB / 1.169 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.084, allocations: 1.062 kB / 1.169 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007192/1.084, allocations: 0.6548 MB / 1.169 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/1.087, allocations: 1.205 MB / 1.17 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.087, allocations: 1.375 kB / 1.17 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/1.087, allocations: 96.98 kB / 1.17 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/1.087, allocations: 7.047 kB / 1.17 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/1.087, allocations: 14.3 kB / 1.17 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003174/1.087, allocations: 0.5978 MB / 1.171 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.087, allocations: 2.25 kB / 1.171 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/1.089, allocations: 0.7274 MB / 1.172 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/1.089, allocations: 177.7 kB / 1.172 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.916e-05/1.089, allocations: 22.22 kB / 1.172 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/1.089, allocations: 38.25 kB / 1.172 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/1.09, allocations: 27.59 kB / 1.172 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/1.09, allocations: 15.16 kB / 1.172 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004526/1.09, allocations: 353.4 kB / 1.172 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.09, allocations: 0 / 1.172 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001105/1.091, allocations: 342.1 kB / 1.173 GB, free: 11.5 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.000561/1.092, allocations: 196.8 kB / 1.173 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001322/1.093, allocations: 0.587 MB / 1.173 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/1.093, allocations: 0 / 1.173 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003088/1.093, allocations: 192.7 kB / 1.174 GB, free: 11 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/1.095, allocations: 360 kB / 1.174 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/1.098, allocations: 1.66 MB / 1.176 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/1.098, allocations: 0.9431 MB / 1.176 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007514/1.099, allocations: 209.5 kB / 1.177 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/1.099, allocations: 51.86 kB / 1.177 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of SimCode: time 4.31e-07/1.099, allocations: 0 / 1.177 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of Templates: time 0.03182/1.131, allocations: 11.1 MB / 1.188 GB, free: 3.176 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)