Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001413/0.001413, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001427/0.001428, allocations: 196.5 kB / 16.14 MB, free: 6.684 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.535/1.535, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.6 MB / 425.5 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001976, allocations: 65.16 kB / 0.5052 GB, free: 5.312 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1986, allocations: 81.03 MB / 0.5843 GB, free: 4.422 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5343/0.733, allocations: 184.5 MB / 0.7645 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00895/0.742, allocations: 4.616 MB / 0.769 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.7433, allocations: 27.81 kB / 0.7691 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.7446, allocations: 346.1 kB / 0.7694 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003983/0.7486, allocations: 1.264 MB / 0.7706 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.7507, allocations: 0.6832 MB / 0.7713 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003292/0.754, allocations: 2.73 MB / 0.774 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009075/0.7549, allocations: 0.5674 MB / 0.7745 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003381/0.7583, allocations: 0.961 MB / 0.7755 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.7596, allocations: 0.6095 MB / 0.7761 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001126/0.7597, allocations: 36 kB / 0.7761 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.763, allocations: 1.551 MB / 0.7776 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003898/0.7634, allocations: 259.2 kB / 0.7779 GB, free: 6.387 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005686/0.764, allocations: 386.1 kB / 0.7782 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/0.7667, allocations: 1.511 MB / 0.7797 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.7667, allocations: 4 kB / 0.7797 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7667, allocations: 0 / 0.7797 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.256e-05/0.7667, allocations: 0 / 0.7797 GB, free: 4.488 MB / 0.5919 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.002068/0.7688, allocations: 1.089 MB / 0.7808 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.7689, allocations: 12.03 kB / 0.7808 GB, free: 3.336 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.7703, allocations: 202.9 kB / 0.781 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.7714, allocations: 0.5793 MB / 0.7815 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.7715, allocations: 45.25 kB / 0.7816 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.857e-05/0.7716, allocations: 59.91 kB / 0.7816 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.7727, allocations: 0.6206 MB / 0.7822 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.7727, allocations: 0 / 0.7822 GB, free: 1.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.035e-05/0.7728, allocations: 24 kB / 0.7823 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/0.7728, allocations: 25.28 kB / 0.7823 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008905/0.7737, allocations: 496.9 kB / 0.7828 GB, free: 1.246 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.003412/0.7771, allocations: 2.389 MB / 0.7851 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/0.7778, allocations: 354.8 kB / 0.7854 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.7782, allocations: 207.6 kB / 0.7856 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006673/0.7788, allocations: 307.2 kB / 0.7859 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.7789, allocations: 42.56 kB / 0.786 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.935e-06/0.7789, allocations: 0 / 0.786 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001351/0.7803, allocations: 0.5488 MB / 0.7865 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.7803, allocations: 59.34 kB / 0.7866 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007201/0.7811, allocations: 0.4949 MB / 0.787 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.7811, allocations: 33.7 kB / 0.7871 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.7814, allocations: 328.5 kB / 0.7874 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.7816, allocations: 126.2 kB / 0.7875 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.7818, allocations: 89.97 kB / 0.7876 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.782, allocations: 366.8 kB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.7823, allocations: 150.5 kB / 0.7881 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.7827, allocations: 268.6 kB / 0.7883 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006664/0.7834, allocations: 406.9 kB / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.7834, allocations: 0 / 0.7887 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008445/0.7842, allocations: 484.9 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/0.7843, allocations: 8 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7843, allocations: 0 / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.7843, allocations: 4 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.785, allocations: 111.8 kB / 0.7893 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004925/0.7855, allocations: 0.5908 MB / 0.7899 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/0.7862, allocations: 63.69 kB / 0.7899 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.7862, allocations: 23.98 kB / 0.79 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005442/0.7868, allocations: 324.9 kB / 0.7903 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004159/0.7872, allocations: 268.1 kB / 0.7905 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006251/0.7878, allocations: 408.5 kB / 0.7909 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.7879, allocations: 0.9375 kB / 0.7909 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008418/0.7887, allocations: 484.4 kB / 0.7914 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.7887, allocations: 5.562 kB / 0.7914 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-06/0.7887, allocations: 4.281 kB / 0.7914 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.7888, allocations: 8 kB / 0.7914 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003924/0.7891, allocations: 89.22 kB / 0.7915 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.7892, allocations: 7.984 kB / 0.7915 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.7898, allocations: 59.72 kB / 0.7916 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.7898, allocations: 16 kB / 0.7916 GB, free: 7.695 MB / 0.6075 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.0002329/0.79, allocations: 209.6 kB / 0.7918 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.7902, allocations: 59.28 kB / 0.7918 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008683/0.791, allocations: 444.6 kB / 0.7923 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.7911, allocations: 0 / 0.7923 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.7911, allocations: 8.875 kB / 0.7923 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007568/0.7918, allocations: 0.6533 MB / 0.7929 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001922/0.7938, allocations: 1.207 MB / 0.7941 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.7938, allocations: 0 / 0.7941 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005083/0.7943, allocations: 99.88 kB / 0.7942 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.7943, allocations: 4 kB / 0.7942 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.7944, allocations: 11.98 kB / 0.7942 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004064/0.7948, allocations: 0.5936 MB / 0.7948 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.7948, allocations: 8.125 kB / 0.7948 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.7959, allocations: 0.7418 MB / 0.7955 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002957/0.7962, allocations: 184.2 kB / 0.7957 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.286e-05/0.7963, allocations: 11.98 kB / 0.7957 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004668/0.7968, allocations: 39.91 kB / 0.7957 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.7969, allocations: 23.97 kB / 0.7957 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/0.7969, allocations: 12 kB / 0.7958 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005202/0.7974, allocations: 362.8 kB / 0.7961 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7974, allocations: 0 / 0.7961 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001121/0.7986, allocations: 343.1 kB / 0.7964 GB, free: 2.465 MB / 0.6075 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.0007038/0.7993, allocations: 193.6 kB / 0.7966 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.8007, allocations: 0.5929 MB / 0.7972 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8007, allocations: 0 / 0.7972 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003827/0.8011, allocations: 190 kB / 0.7974 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/0.8029, allocations: 367.8 kB / 0.7977 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.8057, allocations: 1.567 MB / 0.7993 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006709/0.8064, allocations: 0.9417 MB / 0.8002 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000764/0.8072, allocations: 209.9 kB / 0.8004 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.8073, allocations: 47.44 kB / 0.8004 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.8073, allocations: 0 / 0.8004 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of Templates: time 0.02418/0.8315, allocations: 11.46 MB / 0.8116 GB, free: 3.066 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)