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.5576/0.5576, allocations: 94.7 MB / 107.3 MB, free: 5.176 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.001128/0.001128, allocations: 167.3 kB / 130.7 MB, free: 7.555 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.635/1.635, allocations: 170.5 MB / 324.5 MB, free: 4.016 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.001478/0.001478, allocations: 112.2 kB / 386.6 MB, free: 16.31 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.78e-05/5.781e-05, allocations: 4 kB / 456 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5762, allocations: 61.51 MB / 0.5054 GB, free: 49.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.45/17.03, allocations: 5.264 GB / 5.769 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003514/17.03, allocations: 88.61 kB / 5.769 GB, free: 136.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.721/18.75, allocations: 407.1 MB / 6.167 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.325e-06/18.75, allocations: 2.812 kB / 6.167 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.788e-05/18.75, allocations: 20.27 kB / 6.167 GB, free: 93.02 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.003165/18.75, allocations: 1.151 MB / 6.168 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.169e-05/18.75, allocations: 9.281 kB / 6.168 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005972/18.75, allocations: 98.78 kB / 6.168 GB, free: 92.41 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05874/18.81, allocations: 22.74 MB / 6.19 GB, free: 90.93 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/18.81, allocations: 51.91 kB / 6.191 GB, free: 90.93 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/18.81, allocations: 66.41 kB / 6.191 GB, free: 90.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/18.81, allocations: 0.8108 MB / 6.191 GB, free: 90.85 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/18.81, allocations: 2.438 kB / 6.191 GB, free: 90.85 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/18.81, allocations: 30.44 kB / 6.191 GB, free: 90.85 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/18.81, allocations: 16.16 kB / 6.191 GB, free: 90.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/18.82, allocations: 0.7866 MB / 6.192 GB, free: 90.84 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.00567/18.82, allocations: 2.864 MB / 6.195 GB, free: 89.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009176/18.82, allocations: 490.5 kB / 6.195 GB, free: 89.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003465/18.82, allocations: 223.5 kB / 6.196 GB, free: 89.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004001/18.82, allocations: 304.8 kB / 6.196 GB, free: 89.51 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/18.82, allocations: 41.28 kB / 6.196 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=42): time 3.236e-06/18.82, allocations: 0 / 6.196 GB, free: 89.47 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.002583/18.83, allocations: 0.8705 MB / 6.197 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/18.83, allocations: 55.38 kB / 6.197 GB, free: 89.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008714/18.83, allocations: 0.6553 MB / 6.198 GB, free: 89.19 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/18.83, allocations: 37.05 kB / 6.198 GB, free: 89.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/18.83, allocations: 389.4 kB / 6.198 GB, free: 88.97 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/18.83, allocations: 148.3 kB / 6.198 GB, free: 88.88 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.645e-05/18.83, allocations: 13.94 kB / 6.198 GB, free: 88.88 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001452/18.83, allocations: 390.3 kB / 6.198 GB, free: 88.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/18.83, allocations: 233.9 kB / 6.199 GB, free: 88.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/18.83, allocations: 372.7 kB / 6.199 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005007/18.83, allocations: 354.5 kB / 6.199 GB, free: 88.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/18.83, allocations: 7.531 kB / 6.199 GB, free: 88.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001286/18.83, allocations: 0.833 MB / 6.2 GB, free: 88.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004415/18.83, allocations: 1.375 MB / 6.202 GB, free: 86.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/18.83, allocations: 3.906 kB / 6.202 GB, free: 86.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/18.83, allocations: 99.34 kB / 6.202 GB, free: 86.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007956/18.83, allocations: 166.8 kB / 6.202 GB, free: 86.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006473/18.83, allocations: 1.163 MB / 6.203 GB, free: 85.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008867/18.83, allocations: 109 kB / 6.203 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/18.83, allocations: 30.23 kB / 6.203 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/18.83, allocations: 7.062 kB / 6.203 GB, free: 85.57 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001189/18.83, allocations: 0.7588 MB / 6.204 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/18.83, allocations: 6.781 kB / 6.204 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/18.83, allocations: 97.34 kB / 6.204 GB, free: 85.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005497/18.84, allocations: 138.8 kB / 6.204 GB, free: 85.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003246/18.84, allocations: 0.589 MB / 6.205 GB, free: 84.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/18.84, allocations: 89.69 kB / 6.205 GB, free: 84.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.056e-05/18.84, allocations: 28.92 kB / 6.205 GB, free: 84.89 MB / 0.5261 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.mXi[1]:VARIABLE(min = 0.0 unit = "kg" 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" protected = true ) "Internal energy of fluid" type: Real vol.dynBal.m:VARIABLE(min = 0.0 start = vol.V * vol.rho_start unit = "kg" 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 () * 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.0003952/18.84, allocations: 171.9 kB / 6.205 GB, free: 84.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/18.84, allocations: 69.66 kB / 6.205 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/18.84, allocations: 0.59 MB / 6.206 GB, free: 84.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/18.84, allocations: 15.02 kB / 6.206 GB, free: 84.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/18.84, allocations: 0 / 6.206 GB, free: 84.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/18.84, allocations: 0 / 6.206 GB, free: 84.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/18.84, allocations: 1.366 MB / 6.207 GB, free: 84.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/18.84, allocations: 7.828 kB / 6.207 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/18.84, allocations: 105.1 kB / 6.207 GB, free: 84.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004763/18.84, allocations: 100.5 kB / 6.207 GB, free: 84.31 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/18.84, allocations: 7.812 kB / 6.207 GB, free: 84.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005401/18.84, allocations: 1.163 MB / 6.208 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/18.84, allocations: 0 / 6.208 GB, free: 83.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/18.84, allocations: 0.8568 MB / 6.209 GB, free: 83.01 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00042/18.84, allocations: 229.8 kB / 6.209 GB, free: 82.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/18.84, allocations: 17.73 kB / 6.209 GB, free: 82.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005928/18.84, allocations: 55.42 kB / 6.209 GB, free: 82.87 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/18.84, allocations: 31.27 kB / 6.209 GB, free: 82.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/18.84, allocations: 22.75 kB / 6.209 GB, free: 82.87 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007603/18.85, allocations: 0.5107 MB / 6.21 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/18.85, allocations: 0 / 6.21 GB, free: 82.77 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003182/18.85, allocations: 0.7447 MB / 6.211 GB, free: 82.66 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 () * 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.002996/18.85, allocations: 1.306 MB / 6.212 GB, free: 82.39 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002429/18.85, allocations: 1.194 MB / 6.213 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/18.85, allocations: 0 / 6.213 GB, free: 82.09 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000588/18.85, allocations: 264 kB / 6.213 GB, free: 82.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/18.86, allocations: 430 kB / 6.214 GB, free: 82.07 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/18.86, allocations: 1.237 MB / 6.215 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/18.86, allocations: 1.006 MB / 6.216 GB, free: 81.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001313/18.86, allocations: 301.6 kB / 6.216 GB, free: 81.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/18.86, allocations: 57.88 kB / 6.216 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of SimCode: time 2.004e-06/18.86, allocations: 0 / 6.216 GB, free: 81.02 MB / 0.5261 GB Notification: Performance of Templates: time 0.05863/18.92, allocations: 37.44 MB / 6.253 GB, free: 75.75 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)