Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction") translateModel(IBPSA.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001191/0.00119, allocations: 105.8 kB / 15.98 MB, free: 6.352 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.001262/0.001262, allocations: 190.3 kB / 16.9 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 240.6 MB, free: 15.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7728/0.7728, allocations: 126.1 MB / 416.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 64.05 kB / 0.4945 GB, free: 3.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4129, allocations: 78.71 MB / 0.5713 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.5626/0.9756, allocations: 184.3 MB / 0.7513 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006603/0.9823, allocations: 4.534 MB / 0.7558 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.9834, allocations: 27.97 kB / 0.7558 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001094/0.9845, allocations: 358.4 kB / 0.7561 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.9881, allocations: 1.265 MB / 0.7574 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0024/0.9905, allocations: 0.6834 MB / 0.758 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00336/0.9938, allocations: 1.964 MB / 0.7599 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009201/0.9948, allocations: 0.6349 MB / 0.7606 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004116/0.9989, allocations: 1.085 MB / 0.7616 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001204/1, allocations: 0.6226 MB / 0.7622 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/1, allocations: 65.22 kB / 0.7623 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003433/1.004, allocations: 1.434 MB / 0.7637 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004739/1.004, allocations: 289.1 kB / 0.764 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006888/1.005, allocations: 415.9 kB / 0.7644 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002576/1.007, allocations: 1.542 MB / 0.7659 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.007, allocations: 0 / 0.7659 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.735e-06/1.007, allocations: 0.875 kB / 0.7659 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.339e-05/1.008, allocations: 1.703 kB / 0.7659 GB, free: 1.543 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.002347/1.01, allocations: 1.095 MB / 0.7669 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.849e-05/1.01, allocations: 8.969 kB / 0.767 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/1.011, allocations: 205.1 kB / 0.7671 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/1.012, allocations: 0.5795 MB / 0.7677 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/1.013, allocations: 42.58 kB / 0.7678 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/1.013, allocations: 56 kB / 0.7678 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/1.014, allocations: 0.6156 MB / 0.7684 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/1.014, allocations: 5.094 kB / 0.7684 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.698e-05/1.014, allocations: 21.53 kB / 0.7684 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/1.014, allocations: 23.48 kB / 0.7685 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008955/1.015, allocations: 0.4947 MB / 0.7689 GB, free: 16.5 MB / 0.5919 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.003308/1.018, allocations: 2.389 MB / 0.7713 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006343/1.019, allocations: 360.8 kB / 0.7716 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/1.019, allocations: 217.3 kB / 0.7718 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00062/1.02, allocations: 305 kB / 0.7721 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/1.02, allocations: 43.05 kB / 0.7722 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.454e-06/1.02, allocations: 2.047 kB / 0.7722 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001227/1.021, allocations: 0.5444 MB / 0.7727 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/1.021, allocations: 58.53 kB / 0.7727 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005758/1.022, allocations: 0.5015 MB / 0.7732 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/1.022, allocations: 35.8 kB / 0.7733 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/1.022, allocations: 326 kB / 0.7736 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.295e-05/1.022, allocations: 121.2 kB / 0.7737 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/1.022, allocations: 88.5 kB / 0.7738 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.022, allocations: 361.3 kB / 0.7741 GB, free: 14 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000216/1.023, allocations: 153.4 kB / 0.7743 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/1.023, allocations: 259.3 kB / 0.7745 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/1.023, allocations: 407.8 kB / 0.7749 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.023, allocations: 0 / 0.7749 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006565/1.024, allocations: 496.7 kB / 0.7754 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/1.024, allocations: 7.75 kB / 0.7754 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/1.024, allocations: 3.344 kB / 0.7754 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/1.024, allocations: 3.562 kB / 0.7754 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005694/1.025, allocations: 106.6 kB / 0.7755 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004334/1.025, allocations: 0.5975 MB / 0.7761 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006759/1.026, allocations: 77.31 kB / 0.7762 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.237e-05/1.026, allocations: 19.66 kB / 0.7762 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004194/1.026, allocations: 332.3 kB / 0.7765 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002718/1.026, allocations: 255.1 kB / 0.7767 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004883/1.027, allocations: 402 kB / 0.7771 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.774e-06/1.027, allocations: 2.906 kB / 0.7771 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006792/1.028, allocations: 488.7 kB / 0.7776 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/1.028, allocations: 8.844 kB / 0.7776 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/1.028, allocations: 3.188 kB / 0.7776 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.039e-06/1.028, allocations: 3.25 kB / 0.7776 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/1.028, allocations: 87.22 kB / 0.7777 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.028, allocations: 7.234 kB / 0.7777 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/1.029, allocations: 60.06 kB / 0.7777 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/1.029, allocations: 18.06 kB / 0.7778 GB, free: 12.76 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002194/1.029, allocations: 216.2 kB / 0.778 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/1.029, allocations: 60 kB / 0.778 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007079/1.03, allocations: 447.9 kB / 0.7785 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/1.03, allocations: 3.281 kB / 0.7785 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.03, allocations: 2.469 kB / 0.7785 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006242/1.03, allocations: 0.6513 MB / 0.7791 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/1.032, allocations: 1.205 MB / 0.7803 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/1.032, allocations: 4.281 kB / 0.7803 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/1.033, allocations: 92.36 kB / 0.7804 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.71e-05/1.033, allocations: 16.11 kB / 0.7804 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/1.033, allocations: 6.188 kB / 0.7804 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003487/1.033, allocations: 0.5978 MB / 0.781 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.033, allocations: 8.219 kB / 0.781 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008033/1.034, allocations: 0.7059 MB / 0.7817 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002587/1.034, allocations: 175.9 kB / 0.7818 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.212e-05/1.034, allocations: 10.75 kB / 0.7818 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/1.035, allocations: 45.28 kB / 0.7819 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/1.035, allocations: 35.22 kB / 0.7819 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/1.035, allocations: 10.19 kB / 0.7819 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003653/1.035, allocations: 360.7 kB / 0.7823 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.035, allocations: 0 / 0.7823 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009401/1.036, allocations: 342.6 kB / 0.7826 GB, free: 10.58 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004457/1.037, allocations: 185.8 kB / 0.7828 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001158/1.038, allocations: 0.6337 MB / 0.7834 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.038, allocations: 3.938 kB / 0.7834 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002688/1.038, allocations: 187.3 kB / 0.7836 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.04, allocations: 363.3 kB / 0.7839 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/1.042, allocations: 1.59 MB / 0.7855 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/1.043, allocations: 0.9434 MB / 0.7864 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007844/1.044, allocations: 207.6 kB / 0.7866 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/1.044, allocations: 50.53 kB / 0.7866 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of SimCode: time 4.8e-07/1.044, allocations: 0 / 0.7866 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of Templates: time 0.01964/1.063, allocations: 11.73 MB / 0.7981 GB, free: 7.77 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)