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.001297/0.001297, allocations: 96.83 kB / 16.26 MB, free: 5.934 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.001336/0.001335, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.401/1.401, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7863/0.7863, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 59.91 kB / 0.4911 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4016, allocations: 77.92 MB / 0.5672 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.MassFraction): time 0.5644/0.966, allocations: 186.8 MB / 0.7496 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009173/0.9752, allocations: 4.56 MB / 0.7541 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.9764, allocations: 33.88 kB / 0.7541 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.9777, allocations: 411.6 kB / 0.7545 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003631/0.9814, allocations: 1.344 MB / 0.7558 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.9835, allocations: 0.7527 MB / 0.7565 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003114/0.9866, allocations: 1.957 MB / 0.7584 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.9879, allocations: 0.6576 MB / 0.7591 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.991, allocations: 1.08 MB / 0.7601 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001078/0.9921, allocations: 0.5799 MB / 0.7607 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001368/0.9923, allocations: 65.84 kB / 0.7608 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003343/0.9956, allocations: 1.381 MB / 0.7621 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004648/0.9961, allocations: 291.3 kB / 0.7624 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006538/0.9968, allocations: 413.3 kB / 0.7628 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.9994, allocations: 1.467 MB / 0.7642 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9994, allocations: 0 / 0.7642 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9994, allocations: 0 / 0.7642 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.9994, allocations: 0.875 kB / 0.7642 GB, free: 1.5 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.001659/1.001, allocations: 1.091 MB / 0.7653 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/1.001, allocations: 10.56 kB / 0.7653 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/1.002, allocations: 205 kB / 0.7655 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008043/1.003, allocations: 0.5804 MB / 0.7661 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/1.003, allocations: 42.69 kB / 0.7661 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/1.003, allocations: 52.56 kB / 0.7661 GB, free: 16.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009003/1.004, allocations: 0.6227 MB / 0.7668 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/1.004, allocations: 2.172 kB / 0.7668 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/1.004, allocations: 19.91 kB / 0.7668 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.042e-05/1.004, allocations: 19.28 kB / 0.7668 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/1.005, allocations: 0.4946 MB / 0.7673 GB, free: 16.45 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.002713/1.008, allocations: 2.418 MB / 0.7696 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005913/1.008, allocations: 361.3 kB / 0.77 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/1.009, allocations: 212.6 kB / 0.7702 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/1.009, allocations: 305.2 kB / 0.7705 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/1.009, allocations: 39.25 kB / 0.7705 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.834e-06/1.009, allocations: 1.688 kB / 0.7705 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001106/1.01, allocations: 0.5452 MB / 0.771 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/1.011, allocations: 61.81 kB / 0.7711 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005543/1.011, allocations: 0.499 MB / 0.7716 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/1.011, allocations: 35.73 kB / 0.7716 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001852/1.011, allocations: 318.3 kB / 0.7719 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.895e-05/1.011, allocations: 126.8 kB / 0.7721 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/1.012, allocations: 83.92 kB / 0.7721 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001395/1.012, allocations: 369.6 kB / 0.7725 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/1.012, allocations: 153.1 kB / 0.7726 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/1.012, allocations: 263.3 kB / 0.7729 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/1.013, allocations: 410.2 kB / 0.7733 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.013, allocations: 1.938 kB / 0.7733 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006663/1.014, allocations: 492.9 kB / 0.7737 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.014, allocations: 3.312 kB / 0.7737 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.014, allocations: 9.781 kB / 0.7738 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.014, allocations: 5.812 kB / 0.7738 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005225/1.014, allocations: 102 kB / 0.7739 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003453/1.014, allocations: 0.5944 MB / 0.7744 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000496/1.015, allocations: 46.52 kB / 0.7745 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/1.015, allocations: 17.06 kB / 0.7745 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003798/1.015, allocations: 331.2 kB / 0.7748 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002519/1.016, allocations: 260.5 kB / 0.7751 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004396/1.016, allocations: 395.7 kB / 0.7754 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/1.016, allocations: 0 / 0.7754 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006466/1.017, allocations: 495.1 kB / 0.7759 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/1.017, allocations: 8.844 kB / 0.7759 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/1.017, allocations: 0 / 0.7759 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/1.017, allocations: 6 kB / 0.7759 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/1.017, allocations: 90.7 kB / 0.776 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/1.017, allocations: 7.672 kB / 0.776 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/1.018, allocations: 35.59 kB / 0.7761 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/1.018, allocations: 17.7 kB / 0.7761 GB, free: 12.71 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.0001656/1.018, allocations: 215.9 kB / 0.7763 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/1.018, allocations: 58.91 kB / 0.7763 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006776/1.019, allocations: 444.4 kB / 0.7768 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.019, allocations: 4.406 kB / 0.7768 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/1.019, allocations: 0 / 0.7768 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006141/1.019, allocations: 0.6602 MB / 0.7774 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/1.021, allocations: 1.199 MB / 0.7786 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/1.021, allocations: 3.766 kB / 0.7786 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004254/1.021, allocations: 98.44 kB / 0.7787 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/1.021, allocations: 3.406 kB / 0.7787 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/1.021, allocations: 8.438 kB / 0.7787 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002881/1.022, allocations: 0.5953 MB / 0.7793 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.022, allocations: 8.016 kB / 0.7793 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007271/1.022, allocations: 0.711 MB / 0.78 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/1.023, allocations: 176.5 kB / 0.7801 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.518e-05/1.023, allocations: 7.969 kB / 0.7801 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003587/1.023, allocations: 17.62 kB / 0.7802 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/1.023, allocations: 23.28 kB / 0.7802 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/1.023, allocations: 17.39 kB / 0.7802 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003662/1.024, allocations: 363 kB / 0.7805 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.024, allocations: 3.906 kB / 0.7806 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009408/1.025, allocations: 347.4 kB / 0.7809 GB, free: 10.53 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.0004879/1.025, allocations: 195.3 kB / 0.7811 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001076/1.026, allocations: 0.628 MB / 0.7817 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/1.026, allocations: 0.7812 kB / 0.7817 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/1.026, allocations: 191.8 kB / 0.7819 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/1.028, allocations: 356.9 kB / 0.7822 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/1.03, allocations: 1.351 MB / 0.7835 GB, free: 9.832 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/1.031, allocations: 0.942 MB / 0.7844 GB, free: 9.129 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006945/1.031, allocations: 207.3 kB / 0.7846 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/1.031, allocations: 50.91 kB / 0.7847 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/1.031, allocations: 3.594 kB / 0.7847 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of Templates: time 0.02116/1.053, allocations: 11.8 MB / 0.7962 GB, free: 7.859 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)