Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001727/0.001727, allocations: 106.2 kB / 16.36 MB, free: 6.289 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.001924/0.001925, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.791/0.791, allocations: 132.2 MB / 423.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002404, allocations: 63.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4149, allocations: 80.17 MB / 0.5815 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5628/0.9778, allocations: 186.8 MB / 0.7639 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007359/0.9852, allocations: 4.551 MB / 0.7683 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001109/0.9863, allocations: 33.28 kB / 0.7684 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.9874, allocations: 412.6 kB / 0.7688 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.991, allocations: 1.343 MB / 0.7701 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002088/0.9931, allocations: 0.7663 MB / 0.7708 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002413/0.9955, allocations: 1.957 MB / 0.7727 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.9966, allocations: 0.6492 MB / 0.7734 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002965/0.9996, allocations: 1.077 MB / 0.7744 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/1.001, allocations: 0.5871 MB / 0.775 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001114/1.001, allocations: 64.91 kB / 0.775 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/1.004, allocations: 1.387 MB / 0.7764 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003516/1.004, allocations: 288.1 kB / 0.7767 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005767/1.005, allocations: 420.2 kB / 0.7771 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002381/1.007, allocations: 1.485 MB / 0.7785 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.007, allocations: 0 / 0.7785 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/1.007, allocations: 2.109 kB / 0.7785 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.161e-05/1.007, allocations: 0 / 0.7785 GB, free: 1.422 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.001699/1.009, allocations: 1.09 MB / 0.7796 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.009, allocations: 8.438 kB / 0.7796 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/1.01, allocations: 208.9 kB / 0.7798 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/1.011, allocations: 0.612 MB / 0.7804 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/1.011, allocations: 41.62 kB / 0.7804 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.89e-05/1.011, allocations: 54.62 kB / 0.7805 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008774/1.012, allocations: 0.6256 MB / 0.7811 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/1.012, allocations: 0.9062 kB / 0.7811 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/1.012, allocations: 17.31 kB / 0.7811 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/1.012, allocations: 27.56 kB / 0.7811 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006664/1.013, allocations: 0.4891 MB / 0.7816 GB, free: 16.36 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.002662/1.016, allocations: 2.384 MB / 0.7839 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005026/1.016, allocations: 360.2 kB / 0.7843 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000256/1.016, allocations: 213.3 kB / 0.7845 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005924/1.017, allocations: 307 kB / 0.7848 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/1.017, allocations: 38.06 kB / 0.7848 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.264e-06/1.017, allocations: 0 / 0.7848 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.00103/1.018, allocations: 0.5543 MB / 0.7854 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/1.018, allocations: 54.19 kB / 0.7854 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/1.019, allocations: 0.4986 MB / 0.7859 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.129e-05/1.019, allocations: 35.11 kB / 0.7859 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/1.019, allocations: 320.7 kB / 0.7862 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.605e-05/1.019, allocations: 130.1 kB / 0.7864 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/1.019, allocations: 82.02 kB / 0.7864 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001369/1.019, allocations: 367.9 kB / 0.7868 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/1.019, allocations: 153.5 kB / 0.7869 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/1.02, allocations: 265.1 kB / 0.7872 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/1.02, allocations: 407.3 kB / 0.7876 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.02, allocations: 2.094 kB / 0.7876 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006364/1.021, allocations: 481.4 kB / 0.788 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.021, allocations: 6.406 kB / 0.788 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/1.021, allocations: 2.438 kB / 0.7881 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/1.021, allocations: 6.656 kB / 0.7881 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/1.021, allocations: 110.3 kB / 0.7882 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003807/1.022, allocations: 0.603 MB / 0.7888 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004837/1.022, allocations: 45.95 kB / 0.7888 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.799e-05/1.022, allocations: 18.22 kB / 0.7888 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003874/1.023, allocations: 323.7 kB / 0.7891 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002794/1.023, allocations: 264.7 kB / 0.7894 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004725/1.024, allocations: 406 kB / 0.7898 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/1.024, allocations: 3.406 kB / 0.7898 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006271/1.024, allocations: 485.3 kB / 0.7902 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/1.024, allocations: 7.438 kB / 0.7902 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/1.024, allocations: 2.719 kB / 0.7902 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/1.024, allocations: 9.438 kB / 0.7902 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003373/1.025, allocations: 89.42 kB / 0.7903 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/1.025, allocations: 7.375 kB / 0.7903 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004567/1.025, allocations: 29.97 kB / 0.7904 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/1.025, allocations: 17.88 kB / 0.7904 GB, free: 12.61 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.0001751/1.025, allocations: 210.1 kB / 0.7906 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-05/1.025, allocations: 62.28 kB / 0.7906 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006696/1.026, allocations: 447.9 kB / 0.7911 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/1.026, allocations: 5.281 kB / 0.7911 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.026, allocations: 0.8125 kB / 0.7911 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005734/1.027, allocations: 0.6536 MB / 0.7917 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001584/1.028, allocations: 1.202 MB / 0.7929 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/1.028, allocations: 4.406 kB / 0.7929 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004575/1.029, allocations: 92.22 kB / 0.793 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/1.029, allocations: 4.156 kB / 0.793 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/1.029, allocations: 11.97 kB / 0.793 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003052/1.029, allocations: 0.5983 MB / 0.7936 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.029, allocations: 4.938 kB / 0.7936 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008068/1.03, allocations: 0.7387 MB / 0.7943 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002625/1.03, allocations: 176.9 kB / 0.7945 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.875e-05/1.03, allocations: 17.38 kB / 0.7945 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/1.031, allocations: 11.78 kB / 0.7945 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/1.031, allocations: 27.55 kB / 0.7945 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/1.031, allocations: 14.16 kB / 0.7945 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003519/1.031, allocations: 360.5 kB / 0.7949 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.031, allocations: 0 / 0.7949 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008676/1.032, allocations: 344.9 kB / 0.7952 GB, free: 10.44 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.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 (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.0004351/1.032, allocations: 194 kB / 0.7954 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00103/1.033, allocations: 0.5951 MB / 0.796 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.034, allocations: 2.5 kB / 0.796 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/1.034, allocations: 189.6 kB / 0.7962 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.035, allocations: 356.4 kB / 0.7965 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/1.037, allocations: 1.326 MB / 0.7978 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/1.038, allocations: 0.9428 MB / 0.7987 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005917/1.038, allocations: 205.9 kB / 0.7989 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/1.038, allocations: 49.73 kB / 0.799 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of SimCode: time 1.754e-06/1.038, allocations: 0 / 0.799 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of Templates: time 0.01884/1.057, allocations: 11.84 MB / 0.8105 GB, free: 6.613 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)