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.001239/0.001239, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001301/0.001301, allocations: 194.4 kB / 16.25 MB, free: 6.617 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7341/0.7341, allocations: 132.2 MB / 422.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 60.72 kB / 0.5013 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4089, allocations: 80.21 MB / 0.5796 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.2107/0.6197, allocations: 184.4 MB / 0.7596 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008039/0.6278, allocations: 4.53 MB / 0.7641 GB, free: 4.176 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009865/0.6288, allocations: 27.81 kB / 0.7641 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.63, allocations: 362.1 kB / 0.7644 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.6337, allocations: 1.262 MB / 0.7657 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.6356, allocations: 0.6792 MB / 0.7663 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002399/0.638, allocations: 1.964 MB / 0.7682 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008879/0.6389, allocations: 0.6398 MB / 0.7689 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.6421, allocations: 1.076 MB / 0.7699 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.6434, allocations: 0.6247 MB / 0.7705 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.6435, allocations: 64 kB / 0.7706 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.6461, allocations: 1.43 MB / 0.772 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003025/0.6464, allocations: 291.2 kB / 0.7723 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.6469, allocations: 414.1 kB / 0.7727 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002345/0.6492, allocations: 1.546 MB / 0.7742 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.6492, allocations: 4 kB / 0.7742 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.826e-06/0.6492, allocations: 0 / 0.7742 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.6493, allocations: 0 / 0.7742 GB, free: 9.797 MB / 0.6075 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.001759/0.651, allocations: 1.091 MB / 0.7752 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.6511, allocations: 8.031 kB / 0.7752 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.6524, allocations: 206.9 kB / 0.7754 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008135/0.6532, allocations: 0.5754 MB / 0.776 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.6532, allocations: 37.31 kB / 0.776 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.032e-05/0.6533, allocations: 63.84 kB / 0.7761 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009922/0.6543, allocations: 0.6245 MB / 0.7767 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.6544, allocations: 0 / 0.7767 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.6544, allocations: 24 kB / 0.7767 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.6545, allocations: 17.31 kB / 0.7768 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007646/0.6552, allocations: 0.4891 MB / 0.7772 GB, free: 6.559 MB / 0.6075 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.002673/0.6579, allocations: 2.385 MB / 0.7796 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005277/0.6585, allocations: 368.8 kB / 0.7799 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002838/0.6588, allocations: 216.6 kB / 0.7801 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000565/0.6593, allocations: 303.8 kB / 0.7804 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.6594, allocations: 42.56 kB / 0.7804 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.314e-06/0.6594, allocations: 0 / 0.7804 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001116/0.6605, allocations: 0.552 MB / 0.781 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.6606, allocations: 55.41 kB / 0.781 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.6611, allocations: 0.495 MB / 0.7815 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.6612, allocations: 33.7 kB / 0.7816 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.6614, allocations: 324.5 kB / 0.7819 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.6615, allocations: 122.2 kB / 0.782 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.6616, allocations: 86.03 kB / 0.7821 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.6618, allocations: 370.8 kB / 0.7824 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.662, allocations: 146.5 kB / 0.7826 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.6624, allocations: 264.6 kB / 0.7828 GB, free: 472 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005345/0.6629, allocations: 414.7 kB / 0.7832 GB, free: 28 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6629, allocations: 0 / 0.7832 GB, free: 28 kB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007784/0.6637, allocations: 484.9 kB / 0.7837 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6637, allocations: 11.98 kB / 0.7837 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.6638, allocations: 0 / 0.7837 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.6638, allocations: 7.938 kB / 0.7837 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006171/0.6644, allocations: 103.8 kB / 0.7838 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003662/0.6648, allocations: 0.5979 MB / 0.7844 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.6653, allocations: 59.69 kB / 0.7844 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.205e-05/0.6654, allocations: 20 kB / 0.7844 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004299/0.6658, allocations: 328.9 kB / 0.7848 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003176/0.6662, allocations: 260.2 kB / 0.785 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005188/0.6667, allocations: 408.6 kB / 0.7854 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.034e-06/0.6667, allocations: 0 / 0.7854 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006749/0.6674, allocations: 484.4 kB / 0.7859 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.6674, allocations: 8 kB / 0.7859 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.6674, allocations: 0 / 0.7859 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.6674, allocations: 12.27 kB / 0.7859 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.6678, allocations: 91.84 kB / 0.786 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.6678, allocations: 4 kB / 0.786 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.6684, allocations: 67.58 kB / 0.786 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.6684, allocations: 16 kB / 0.786 GB, free: 13 MB / 0.6231 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.0001699/0.6686, allocations: 204.1 kB / 0.7862 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.6687, allocations: 55.34 kB / 0.7863 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007272/0.6694, allocations: 445.3 kB / 0.7867 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.6694, allocations: 7.984 kB / 0.7867 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6695, allocations: 4 kB / 0.7867 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006018/0.6701, allocations: 0.657 MB / 0.7874 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/0.6717, allocations: 1.203 MB / 0.7885 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6717, allocations: 0 / 0.7885 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004873/0.6722, allocations: 95.89 kB / 0.7886 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.6722, allocations: 4 kB / 0.7886 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.957e-05/0.6722, allocations: 8 kB / 0.7886 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002907/0.6725, allocations: 0.6015 MB / 0.7892 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6726, allocations: 4.156 kB / 0.7892 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009181/0.6735, allocations: 0.7442 MB / 0.79 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002291/0.6737, allocations: 176.3 kB / 0.7901 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.812e-05/0.6738, allocations: 8 kB / 0.7901 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.6743, allocations: 39.91 kB / 0.7902 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.6743, allocations: 23.97 kB / 0.7902 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.425e-05/0.6744, allocations: 19.98 kB / 0.7902 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004284/0.6748, allocations: 358.8 kB / 0.7906 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6748, allocations: 0 / 0.7906 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009942/0.6758, allocations: 351.1 kB / 0.7909 GB, free: 7.773 MB / 0.6231 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.0004818/0.6763, allocations: 189.5 kB / 0.7911 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.6776, allocations: 0.6328 MB / 0.7917 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6776, allocations: 0 / 0.7917 GB, free: 6.949 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.6779, allocations: 190.7 kB / 0.7919 GB, free: 6.766 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.6796, allocations: 372.6 kB / 0.7922 GB, free: 6.426 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.6819, allocations: 1.555 MB / 0.7938 GB, free: 4.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.6824, allocations: 0.9414 MB / 0.7947 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007364/0.6831, allocations: 204.9 kB / 0.7949 GB, free: 3.652 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.6833, allocations: 47.44 kB / 0.7949 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of SimCode: time 9.72e-07/0.6833, allocations: 4 kB / 0.7949 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of Templates: time 0.02052/0.7038, allocations: 11.78 MB / 0.8064 GB, free: 8.027 MB / 0.6387 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)