Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001017/0.001017, allocations: 100.2 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.001574/0.001574, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9465/0.9465, allocations: 143.3 MB / 434.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003098/0.0003099, allocations: 12 kB / 0.5158 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1548, allocations: 83.41 MB / 0.5973 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.4175/0.5723, allocations: 155.4 MB / 0.749 GB, free: 4 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007104/0.5795, allocations: 4.451 MB / 0.7533 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009331/0.5804, allocations: 27.81 kB / 0.7534 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.5819, allocations: 430.4 kB / 0.7538 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003793/0.5857, allocations: 1.243 MB / 0.755 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002599/0.5883, allocations: 0.8493 MB / 0.7558 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001944/0.5903, allocations: 1.129 MB / 0.7569 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007412/0.591, allocations: 0.4993 MB / 0.7574 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001534/0.5926, allocations: 0.7282 MB / 0.7581 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005388/0.5931, allocations: 370.5 kB / 0.7585 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.696e-05/0.5932, allocations: 31.94 kB / 0.7585 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.5947, allocations: 0.6864 MB / 0.7592 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000234/0.595, allocations: 223.4 kB / 0.7594 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001807/0.5952, allocations: 173.3 kB / 0.7596 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.5963, allocations: 0.9661 MB / 0.7605 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.5963, allocations: 0 / 0.7605 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.71e-07/0.5963, allocations: 0 / 0.7605 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.5963, allocations: 0 / 0.7605 GB, free: 5.055 MB / 0.5762 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.001418/0.5977, allocations: 0.9385 MB / 0.7614 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.5977, allocations: 8.031 kB / 0.7614 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/0.599, allocations: 202.9 kB / 0.7616 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.6, allocations: 0.5602 MB / 0.7622 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.6001, allocations: 41.31 kB / 0.7622 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.434e-05/0.6002, allocations: 63.89 kB / 0.7623 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.6012, allocations: 0.605 MB / 0.7629 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.6013, allocations: 11.92 kB / 0.7629 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.369e-05/0.6013, allocations: 20.5 kB / 0.7629 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.6014, allocations: 17.31 kB / 0.7629 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007622/0.6021, allocations: 497 kB / 0.7634 GB, free: 2.008 MB / 0.5762 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.002923/0.6051, allocations: 2.4 MB / 0.7657 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.6057, allocations: 365.1 kB / 0.7661 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003879/0.6061, allocations: 141 kB / 0.7662 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.6061, allocations: 39.59 kB / 0.7662 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.653e-06/0.6061, allocations: 0 / 0.7662 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001109/0.6072, allocations: 0.5458 MB / 0.7668 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.6073, allocations: 59.41 kB / 0.7668 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/0.6079, allocations: 0.4988 MB / 0.7673 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.6079, allocations: 29.7 kB / 0.7674 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.6082, allocations: 323.8 kB / 0.7677 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.6083, allocations: 126.2 kB / 0.7678 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/0.6083, allocations: 4 kB / 0.7678 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.6085, allocations: 378.7 kB / 0.7681 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002503/0.6087, allocations: 140.8 kB / 0.7683 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.6091, allocations: 255.7 kB / 0.7685 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.6093, allocations: 186.2 kB / 0.7687 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6094, allocations: 0 / 0.7687 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007043/0.6101, allocations: 493.4 kB / 0.7692 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003466/0.6104, allocations: 0.8693 MB / 0.77 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.6104, allocations: 4 kB / 0.77 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.6105, allocations: 7.984 kB / 0.77 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/0.6111, allocations: 100.5 kB / 0.7701 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000387/0.6115, allocations: 0.59 MB / 0.7707 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006065/0.6121, allocations: 79.58 kB / 0.7708 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.086e-05/0.6121, allocations: 24.56 kB / 0.7708 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.6121, allocations: 4 kB / 0.7708 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006186/0.6128, allocations: 408.5 kB / 0.7712 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.6128, allocations: 0 / 0.7712 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.823e-06/0.6128, allocations: 4 kB / 0.7712 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.6132, allocations: 91.89 kB / 0.7713 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.6132, allocations: 7.938 kB / 0.7713 GB, free: 9.469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.6137, allocations: 72.45 kB / 0.7714 GB, free: 9.398 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.6137, allocations: 12 kB / 0.7714 GB, free: 9.387 MB / 0.5919 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.0003583/0.6141, allocations: 304.9 kB / 0.7717 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.254e-05/0.6142, allocations: 67.2 kB / 0.7717 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007068/0.6149, allocations: 449.2 kB / 0.7722 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.6149, allocations: 4 kB / 0.7722 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.615, allocations: 7.922 kB / 0.7722 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006083/0.6156, allocations: 0.648 MB / 0.7728 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.6173, allocations: 1.207 MB / 0.774 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.6173, allocations: 4.5 kB / 0.774 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/0.6178, allocations: 88.38 kB / 0.7741 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6178, allocations: 4 kB / 0.7741 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.6178, allocations: 18 kB / 0.7741 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002904/0.6181, allocations: 0.5949 MB / 0.7747 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6182, allocations: 3.938 kB / 0.7747 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000868/0.619, allocations: 0.7906 MB / 0.7755 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.6193, allocations: 176.3 kB / 0.7756 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.863e-05/0.6194, allocations: 19.95 kB / 0.7756 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000462/0.6199, allocations: 45.42 kB / 0.7757 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.6199, allocations: 27.91 kB / 0.7757 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.6199, allocations: 8 kB / 0.7757 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000393/0.6203, allocations: 358.8 kB / 0.7761 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6203, allocations: 0 / 0.7761 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009195/0.6213, allocations: 347.1 kB / 0.7764 GB, free: 3.957 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.0003922/0.6217, allocations: 186.2 kB / 0.7766 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.6228, allocations: 0.5851 MB / 0.7771 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6228, allocations: 3.984 kB / 0.7771 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002949/0.6231, allocations: 185.2 kB / 0.7773 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.6247, allocations: 363.5 kB / 0.7777 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.6268, allocations: 1.682 MB / 0.7793 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.6274, allocations: 0.9572 MB / 0.7802 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000657/0.628, allocations: 205.8 kB / 0.7804 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000123/0.6281, allocations: 51.42 kB / 0.7805 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of SimCode: time 4e-07/0.6282, allocations: 0 / 0.7805 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of Templates: time 0.01808/0.6462, allocations: 11.06 MB / 0.7913 GB, free: 4.875 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1) Environment - environmentSimulation: