Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5578/0.5578, allocations: 95.62 MB / 110.6 MB, free: 9.375 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001319/0.001319, allocations: 174.3 kB / 134.2 MB, free: 2.258 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.706/1.706, allocations: 170.7 MB / 328.4 MB, free: 12.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001833/0.001833, allocations: 115.3 kB / 390.7 MB, free: 13.92 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004221/0.0004221, allocations: 16 kB / 462.7 MB, free: 35.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1706, allocations: 61.52 MB / 0.512 GB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.99/13.16, allocations: 5.264 GB / 5.776 GB, free: 157 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/13.16, allocations: 91.95 kB / 5.776 GB, free: 156.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.531/14.7, allocations: 407.7 MB / 6.174 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.663e-06/14.7, allocations: 0 / 6.174 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.285e-05/14.7, allocations: 20.88 kB / 6.174 GB, free: 96.04 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.002654/14.7, allocations: 1.248 MB / 6.176 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/14.7, allocations: 11.58 kB / 6.176 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003637/14.7, allocations: 108 kB / 6.176 GB, free: 95.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04267/14.74, allocations: 22.81 MB / 6.198 GB, free: 93.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/14.74, allocations: 56.84 kB / 6.198 GB, free: 93.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/14.74, allocations: 67.66 kB / 6.198 GB, free: 93.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/14.74, allocations: 0.8294 MB / 6.199 GB, free: 93.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/14.74, allocations: 0 / 6.199 GB, free: 93.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.805e-05/14.74, allocations: 32.12 kB / 6.199 GB, free: 93.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/14.74, allocations: 15.16 kB / 6.199 GB, free: 93.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/14.74, allocations: 0.812 MB / 6.2 GB, free: 93.52 MB / 0.5261 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.004919/14.75, allocations: 2.87 MB / 6.203 GB, free: 92.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/14.75, allocations: 0.49 MB / 6.203 GB, free: 92.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000395/14.75, allocations: 298.4 kB / 6.203 GB, free: 92.18 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/14.75, allocations: 37.69 kB / 6.203 GB, free: 92.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 4.779e-06/14.75, allocations: 5.875 kB / 6.203 GB, free: 92.13 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: vol.dynBal.medium.Xi[1] 2: vol.dynBal.medium.T 3: vol.dynBal.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=42): time 0.003027/14.75, allocations: 1.068 MB / 6.204 GB, free: 92.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/14.75, allocations: 59.06 kB / 6.204 GB, free: 91.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008028/14.76, allocations: 0.6578 MB / 6.205 GB, free: 91.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.709e-05/14.76, allocations: 36.27 kB / 6.205 GB, free: 91.81 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/14.76, allocations: 388.3 kB / 6.205 GB, free: 91.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/14.76, allocations: 151 kB / 6.206 GB, free: 91.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/14.76, allocations: 14.09 kB / 6.206 GB, free: 91.53 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001372/14.76, allocations: 389.8 kB / 6.206 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/14.76, allocations: 236.2 kB / 6.206 GB, free: 91.21 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/14.76, allocations: 395 kB / 6.207 GB, free: 91.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/14.76, allocations: 358.9 kB / 6.207 GB, free: 90.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/14.76, allocations: 0 / 6.207 GB, free: 90.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001433/14.76, allocations: 0.8579 MB / 6.208 GB, free: 90.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003887/14.76, allocations: 1.37 MB / 6.209 GB, free: 89.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/14.76, allocations: 3 kB / 6.209 GB, free: 89.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005424/14.76, allocations: 98.3 kB / 6.209 GB, free: 89.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008216/14.76, allocations: 166.3 kB / 6.209 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006045/14.76, allocations: 1.172 MB / 6.211 GB, free: 88.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008483/14.76, allocations: 106.4 kB / 6.211 GB, free: 88.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/14.76, allocations: 33.23 kB / 6.211 GB, free: 88.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/14.76, allocations: 3.594 kB / 6.211 GB, free: 88.23 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001297/14.76, allocations: 0.7807 MB / 6.211 GB, free: 88.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/14.76, allocations: 3.938 kB / 6.211 GB, free: 88.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004193/14.76, allocations: 95.27 kB / 6.212 GB, free: 88.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/14.76, allocations: 142 kB / 6.212 GB, free: 88.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003005/14.76, allocations: 0.5852 MB / 6.212 GB, free: 87.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006814/14.77, allocations: 91.72 kB / 6.212 GB, free: 87.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/14.77, allocations: 35.72 kB / 6.212 GB, free: 87.55 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.mXi[1]:VARIABLE(min = 0.0 unit = "kg" fixed = true protected = true ) "Masses of independent components in the fluid" type: Real [1] vol.dynBal.U:VARIABLE(start = vol.V * vol.rho_start * Buildings.Fluid.MixingVolumes.MixingVolume$vol.Medium.specificInternalEnergy(Buildings.Fluid.MixingVolumes.MixingVolume$vol.Medium.ThermodynamicState(101325.0, 293.15, {0.01, 0.99})) unit = "J" fixed = true protected = true ) "Internal energy of fluid" type: Real vol.dynBal.m:VARIABLE(min = 0.0 start = vol.V * vol.rho_start unit = "kg" fixed = true protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006887/14.77, allocations: 362.3 kB / 6.213 GB, free: 87.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/14.77, allocations: 73.44 kB / 6.213 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/14.77, allocations: 0.6024 MB / 6.213 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/14.77, allocations: 7.891 kB / 6.213 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/14.77, allocations: 3.938 kB / 6.213 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/14.77, allocations: 6.125 kB / 6.213 GB, free: 87.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002285/14.77, allocations: 1.377 MB / 6.215 GB, free: 86.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/14.77, allocations: 6.922 kB / 6.215 GB, free: 86.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/14.77, allocations: 106.8 kB / 6.215 GB, free: 86.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/14.77, allocations: 98.42 kB / 6.215 GB, free: 86.88 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/14.77, allocations: 15.44 kB / 6.215 GB, free: 86.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004733/14.77, allocations: 1.156 MB / 6.216 GB, free: 85.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/14.77, allocations: 0 / 6.216 GB, free: 85.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001233/14.77, allocations: 0.8787 MB / 6.217 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000409/14.77, allocations: 234.8 kB / 6.217 GB, free: 85.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.843e-05/14.77, allocations: 14.7 kB / 6.217 GB, free: 85.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/14.77, allocations: 59.39 kB / 6.217 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/14.77, allocations: 26.66 kB / 6.217 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/14.77, allocations: 30.3 kB / 6.217 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006233/14.77, allocations: 0.5093 MB / 6.218 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/14.77, allocations: 2.469 kB / 6.218 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002489/14.78, allocations: 0.7449 MB / 6.218 GB, free: 85.22 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (44): * Single equations (assignments): 42 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002607/14.78, allocations: 1.299 MB / 6.22 GB, free: 84.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002459/14.78, allocations: 1.201 MB / 6.221 GB, free: 84.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/14.78, allocations: 0 / 6.221 GB, free: 84.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006412/14.78, allocations: 281 kB / 6.221 GB, free: 84.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/14.79, allocations: 441.1 kB / 6.222 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/14.79, allocations: 1.896 MB / 6.223 GB, free: 83.56 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/14.79, allocations: 1 MB / 6.224 GB, free: 82.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001003/14.79, allocations: 234.7 kB / 6.225 GB, free: 82.79 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/14.79, allocations: 76.47 kB / 6.225 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of SimCode: time 9.72e-07/14.79, allocations: 0 / 6.225 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of Templates: time 0.0488/14.84, allocations: 33.13 MB / 6.257 GB, free: 67.05 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)