Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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: translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") translateModel(Buildings.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001547/0.001547, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.681/1.681, allocations: 251.9 MB / 0.51 GB, free: 4.902 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005529/0.0005529, allocations: 16 kB / 0.6241 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5926/0.5932, allocations: 106.3 MB / 0.728 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.MassFraction): time 0.1816/0.7748, allocations: 155.5 MB / 0.8798 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.00817/0.7831, allocations: 4.503 MB / 0.8842 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009353/0.784, allocations: 23.81 kB / 0.8842 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.00146/0.7855, allocations: 434 kB / 0.8847 GB, free: 10.74 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00493/0.7905, allocations: 1.239 MB / 0.8859 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003032/0.7935, allocations: 0.8963 MB / 0.8867 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002217/0.7957, allocations: 1.136 MB / 0.8879 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009038/0.7966, allocations: 0.4992 MB / 0.8883 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.7983, allocations: 0.7476 MB / 0.8891 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.7989, allocations: 378.5 kB / 0.8894 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.696e-05/0.799, allocations: 28 kB / 0.8895 GB, free: 5.809 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001848/0.8008, allocations: 0.6864 MB / 0.8901 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0002836/0.8011, allocations: 227.4 kB / 0.8903 GB, free: 4.898 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.8013, allocations: 173.3 kB / 0.8905 GB, free: 4.723 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.8027, allocations: 0.943 MB / 0.8914 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.8027, allocations: 0 / 0.8914 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8027, allocations: 0 / 0.8914 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.221e-05/0.8027, allocations: 0 / 0.8914 GB, free: 3.777 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001705/0.8044, allocations: 0.9309 MB / 0.8923 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.8045, allocations: 16.03 kB / 0.8924 GB, free: 2.781 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.8058, allocations: 198.9 kB / 0.8926 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.8068, allocations: 0.5563 MB / 0.8931 GB, free: 1.988 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.09e-05/0.8069, allocations: 45.31 kB / 0.8931 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.164e-05/0.807, allocations: 56 kB / 0.8932 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.808, allocations: 0.6206 MB / 0.8938 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.8081, allocations: 0 / 0.8938 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.8081, allocations: 23.94 kB / 0.8938 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.8081, allocations: 17.31 kB / 0.8938 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007907/0.8089, allocations: 0.497 MB / 0.8943 GB, free: 0.7148 MB / 0.7012 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.003166/0.8121, allocations: 2.388 MB / 0.8967 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.8127, allocations: 363.7 kB / 0.897 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/0.8131, allocations: 153 kB / 0.8971 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.8132, allocations: 38.56 kB / 0.8972 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=36): time 1.934e-06/0.8132, allocations: 0 / 0.8972 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=36): time 0.001212/0.8144, allocations: 0.53 MB / 0.8977 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.8145, allocations: 59.41 kB / 0.8978 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006087/0.8151, allocations: 0.4949 MB / 0.8982 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.8152, allocations: 33.7 kB / 0.8983 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.8154, allocations: 316.4 kB / 0.8986 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.8156, allocations: 130.2 kB / 0.8987 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.89e-05/0.8156, allocations: 4 kB / 0.8987 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.8158, allocations: 370.7 kB / 0.8991 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.816, allocations: 136.8 kB / 0.8992 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.8164, allocations: 251.8 kB / 0.8994 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.8167, allocations: 185.5 kB / 0.8996 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8167, allocations: 0 / 0.8996 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006931/0.8174, allocations: 480.9 kB / 0.9001 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003622/0.8177, allocations: 0.8732 MB / 0.9009 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.8178, allocations: 11.98 kB / 0.9009 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.8178, allocations: 8 kB / 0.9009 GB, free: 9.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.8184, allocations: 99.81 kB / 0.901 GB, free: 9.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003999/0.8188, allocations: 0.6014 MB / 0.9016 GB, free: 8.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006192/0.8195, allocations: 78.33 kB / 0.9017 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.8195, allocations: 20 kB / 0.9017 GB, free: 8.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.8195, allocations: 4 kB / 0.9017 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006366/0.8202, allocations: 395.9 kB / 0.9021 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8202, allocations: 7.922 kB / 0.9021 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/0.8202, allocations: 4 kB / 0.9021 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.8206, allocations: 91.84 kB / 0.9022 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.8206, allocations: 4 kB / 0.9022 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/0.8211, allocations: 63.92 kB / 0.9023 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.8212, allocations: 16 kB / 0.9023 GB, free: 8.156 MB / 0.7169 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.0003877/0.8216, allocations: 305 kB / 0.9026 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.192e-05/0.8216, allocations: 59.3 kB / 0.9026 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007303/0.8224, allocations: 451.3 kB / 0.903 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.8224, allocations: 4 kB / 0.9031 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.8224, allocations: 0 / 0.9031 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006308/0.823, allocations: 0.6479 MB / 0.9037 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001852/0.8249, allocations: 1.196 MB / 0.9049 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.8249, allocations: 0 / 0.9049 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004858/0.8254, allocations: 95.88 kB / 0.9049 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.8254, allocations: 4 kB / 0.9049 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.8255, allocations: 8.219 kB / 0.905 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003225/0.8258, allocations: 0.6016 MB / 0.9055 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.8258, allocations: 0 / 0.9055 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009789/0.8268, allocations: 0.8222 MB / 0.9063 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.8271, allocations: 180.3 kB / 0.9065 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.8272, allocations: 16 kB / 0.9065 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004659/0.8277, allocations: 47.86 kB / 0.9066 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.8277, allocations: 23.97 kB / 0.9066 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.8278, allocations: 12 kB / 0.9066 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004148/0.8282, allocations: 354.8 kB / 0.907 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8282, allocations: 0 / 0.907 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009704/0.8292, allocations: 347.2 kB / 0.9073 GB, free: 2.715 MB / 0.7169 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.0004612/0.8296, allocations: 193.4 kB / 0.9075 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.8308, allocations: 0.5854 MB / 0.908 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8309, allocations: 0 / 0.908 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.8312, allocations: 180.9 kB / 0.9082 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/0.8329, allocations: 360.5 kB / 0.9086 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3732/1.206, allocations: 1.667 MB / 0.9102 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005443/1.207, allocations: 0.9553 MB / 0.9111 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000874/1.208, allocations: 200.9 kB / 0.9113 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/1.208, allocations: 48.23 kB / 0.9114 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of SimCode: time 7.52e-07/1.208, allocations: 0 / 0.9114 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.02362/1.231, allocations: 11.11 MB / 0.9222 GB, free: 177.2 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: