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: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.618/1.618, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001133/0.001133, allocations: 188.9 kB / 361.4 MB, free: 6.832 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.476/1.476, allocations: 205.3 MB / 0.62 GB, free: 11.61 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008336/0.0008335, allocations: 95.33 kB / 0.733 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.241e-05/2.245e-05, allocations: 8 kB / 0.8517 GB, free: 2.695 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6298/0.6299, allocations: 115.3 MB / 0.9644 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.899/5.528, allocations: 2.083 GB / 3.047 GB, free: 32.46 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/5.529, allocations: 90.44 kB / 3.047 GB, free: 32.41 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.152/7.681, allocations: 475.6 MB / 3.512 GB, free: 233.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.615e-06/7.681, allocations: 0 / 3.512 GB, free: 233.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.883e-05/7.681, allocations: 20.11 kB / 3.512 GB, free: 233.7 MB / 0.948 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.002991/7.684, allocations: 0.9899 MB / 3.513 GB, free: 233.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.792e-05/7.684, allocations: 8.719 kB / 3.513 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/7.686, allocations: 202.6 kB / 3.513 GB, free: 233.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/7.688, allocations: 0.9003 MB / 3.514 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/7.688, allocations: 16.72 kB / 3.514 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.243e-05/7.688, allocations: 37.27 kB / 3.514 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007988/7.689, allocations: 429.6 kB / 3.514 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008299/7.69, allocations: 0.515 MB / 3.515 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/7.69, allocations: 0 / 3.515 GB, free: 232.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/7.69, allocations: 11.36 kB / 3.515 GB, free: 232.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/7.69, allocations: 21.52 kB / 3.515 GB, free: 232.8 MB / 0.948 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.002674/7.692, allocations: 2.271 MB / 3.517 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004797/7.693, allocations: 317 kB / 3.517 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/7.693, allocations: 190.9 kB / 3.517 GB, free: 231.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004753/7.694, allocations: 304 kB / 3.518 GB, free: 231.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/7.694, allocations: 41.34 kB / 3.518 GB, free: 231.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=36): time 1.934e-06/7.694, allocations: 1.031 kB / 3.518 GB, free: 231.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=36): time 0.001051/7.695, allocations: 416.5 kB / 3.518 GB, free: 231.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/7.695, allocations: 57.09 kB / 3.518 GB, free: 231.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/7.695, allocations: 354.8 kB / 3.519 GB, free: 231 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/7.695, allocations: 30.67 kB / 3.519 GB, free: 231 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/7.696, allocations: 323.9 kB / 3.519 GB, free: 230.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/7.696, allocations: 122.9 kB / 3.519 GB, free: 230.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/7.696, allocations: 0 / 3.519 GB, free: 230.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/7.696, allocations: 360 kB / 3.519 GB, free: 230.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/7.696, allocations: 130.5 kB / 3.52 GB, free: 230.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/7.696, allocations: 269.5 kB / 3.52 GB, free: 230.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/7.697, allocations: 205.1 kB / 3.52 GB, free: 230.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/7.697, allocations: 0.9688 kB / 3.52 GB, free: 230.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007636/7.697, allocations: 465.5 kB / 3.52 GB, free: 230.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002469/7.698, allocations: 0.8792 MB / 3.521 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/7.698, allocations: 2.219 kB / 3.521 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/7.698, allocations: 4.375 kB / 3.521 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00059/7.698, allocations: 99.27 kB / 3.521 GB, free: 229.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00029/7.699, allocations: 0.601 MB / 3.522 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/7.699, allocations: 53.42 kB / 3.522 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/7.699, allocations: 18.22 kB / 3.522 GB, free: 228.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/7.699, allocations: 7.375 kB / 3.522 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006353/7.7, allocations: 372.9 kB / 3.522 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/7.7, allocations: 2.375 kB / 3.522 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/7.7, allocations: 4.156 kB / 3.522 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003428/7.7, allocations: 90.03 kB / 3.522 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/7.7, allocations: 6.469 kB / 3.522 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/7.701, allocations: 51.55 kB / 3.523 GB, free: 228.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/7.701, allocations: 20.97 kB / 3.523 GB, free: 228.8 MB / 0.948 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 () * 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.0001387/7.701, allocations: 119.6 kB / 3.523 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/7.701, allocations: 49.72 kB / 3.523 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007927/7.702, allocations: 430.5 kB / 3.523 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/7.702, allocations: 4.312 kB / 3.523 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/7.702, allocations: 0 / 3.523 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006269/7.703, allocations: 0.6364 MB / 3.524 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/7.704, allocations: 1.107 MB / 3.525 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/7.704, allocations: 6.016 kB / 3.525 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/7.705, allocations: 95.17 kB / 3.525 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/7.705, allocations: 7.016 kB / 3.525 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/7.705, allocations: 7.781 kB / 3.525 GB, free: 227.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002005/7.705, allocations: 0.59 MB / 3.526 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/7.705, allocations: 4.812 kB / 3.526 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008854/7.706, allocations: 0.7901 MB / 3.526 GB, free: 226.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/7.706, allocations: 171.8 kB / 3.526 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/7.706, allocations: 7.141 kB / 3.526 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/7.707, allocations: 33.06 kB / 3.527 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.934e-05/7.707, allocations: 26.06 kB / 3.527 GB, free: 226.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/7.707, allocations: 20.12 kB / 3.527 GB, free: 226.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000356/7.707, allocations: 280.5 kB / 3.527 GB, free: 226.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.5e-07/7.707, allocations: 1.219 kB / 3.527 GB, free: 226.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001585/7.709, allocations: 436.5 kB / 3.527 GB, free: 226.6 MB / 0.948 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 () * 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.002549/7.711, allocations: 1.562 MB / 3.529 GB, free: 226.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001344/7.713, allocations: 0.5497 MB / 3.529 GB, free: 226.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/7.713, allocations: 1.156 kB / 3.529 GB, free: 226.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/7.713, allocations: 170.5 kB / 3.529 GB, free: 226.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001701/7.715, allocations: 308 kB / 3.53 GB, free: 226.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/7.717, allocations: 1.039 MB / 3.531 GB, free: 225.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005011/7.717, allocations: 0.9573 MB / 3.532 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008933/7.718, allocations: 225.1 kB / 3.532 GB, free: 225.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/7.718, allocations: 40.67 kB / 3.532 GB, free: 225.2 MB / 0.948 GB Notification: Performance of SimCode: time 8.31e-07/7.718, allocations: 1.25 kB / 3.532 GB, free: 225.2 MB / 0.948 GB Notification: Performance of Templates: time 0.02885/7.747, allocations: 18.3 MB / 3.55 GB, free: 224.5 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)