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.001214/0.001214, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00921/0.00921, allocations: 169.3 kB / 16.26 MB, free: 6.648 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.008/1.008, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003777, allocations: 8.656 kB / 0.5076 GB, free: 4.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2139, allocations: 82.31 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5431/0.757, allocations: 182.1 MB / 0.7658 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008269/0.7653, allocations: 4.569 MB / 0.7703 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.7666, allocations: 27.81 kB / 0.7703 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.7678, allocations: 346.1 kB / 0.7706 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003854/0.7716, allocations: 1.253 MB / 0.7718 GB, free: 172 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.7738, allocations: 0.6811 MB / 0.7725 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003402/0.7772, allocations: 2.753 MB / 0.7752 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009369/0.7781, allocations: 0.5335 MB / 0.7757 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.7815, allocations: 0.9344 MB / 0.7766 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00122/0.7827, allocations: 0.6086 MB / 0.7772 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.829e-05/0.7828, allocations: 28 kB / 0.7773 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.7862, allocations: 1.551 MB / 0.7788 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003199/0.7866, allocations: 243.2 kB / 0.779 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005459/0.7871, allocations: 395.8 kB / 0.7794 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.7895, allocations: 1.488 MB / 0.7808 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.7895, allocations: 0 / 0.7808 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.933e-06/0.7895, allocations: 0 / 0.7808 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.7895, allocations: 0 / 0.7808 GB, free: 6.953 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.00155/0.791, allocations: 0.9525 MB / 0.7818 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.7911, allocations: 12.03 kB / 0.7818 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.7924, allocations: 202.9 kB / 0.782 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008747/0.7933, allocations: 0.5789 MB / 0.7825 GB, free: 5.129 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.7933, allocations: 41.31 kB / 0.7826 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-05/0.7934, allocations: 59.89 kB / 0.7826 GB, free: 5.031 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009665/0.7944, allocations: 0.6244 MB / 0.7832 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.7944, allocations: 8 kB / 0.7832 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.397e-05/0.7945, allocations: 20 kB / 0.7833 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.7945, allocations: 21.3 kB / 0.7833 GB, free: 4.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007574/0.7953, allocations: 0.4931 MB / 0.7838 GB, free: 3.848 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.002916/0.7982, allocations: 2.384 MB / 0.7861 GB, free: 1.254 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.7988, allocations: 352.2 kB / 0.7864 GB, free: 0.9023 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.7991, allocations: 219.2 kB / 0.7866 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005724/0.7997, allocations: 319.2 kB / 0.7869 GB, free: 328 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.7997, allocations: 35.16 kB / 0.787 GB, free: 284 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.355e-06/0.7997, allocations: 0 / 0.787 GB, free: 284 kB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001165/0.8009, allocations: 0.5482 MB / 0.7875 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.8009, allocations: 59.34 kB / 0.7876 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/0.8015, allocations: 0.4949 MB / 0.7881 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.063e-05/0.8016, allocations: 41.7 kB / 0.7881 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.8018, allocations: 320.5 kB / 0.7884 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.802, allocations: 122.2 kB / 0.7885 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.802, allocations: 41.7 kB / 0.7886 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.8022, allocations: 362.8 kB / 0.7889 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.8024, allocations: 148.8 kB / 0.789 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.8028, allocations: 260.6 kB / 0.7893 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000572/0.8033, allocations: 414.9 kB / 0.7897 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.8033, allocations: 0 / 0.7897 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007958/0.8041, allocations: 485.1 kB / 0.7901 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.8043, allocations: 156.9 kB / 0.7903 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.8043, allocations: 4 kB / 0.7903 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.8043, allocations: 11.88 kB / 0.7903 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/0.805, allocations: 99.83 kB / 0.7904 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00044/0.8054, allocations: 0.5978 MB / 0.791 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.806, allocations: 71.67 kB / 0.7911 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/0.8061, allocations: 15.98 kB / 0.7911 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.8061, allocations: 5.875 kB / 0.7911 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006045/0.8067, allocations: 407.8 kB / 0.7915 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8067, allocations: 8.219 kB / 0.7915 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.521e-06/0.8067, allocations: 8 kB / 0.7915 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.8071, allocations: 83.91 kB / 0.7916 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8071, allocations: 7.938 kB / 0.7916 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004912/0.8076, allocations: 69.88 kB / 0.7916 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.992e-05/0.8076, allocations: 16 kB / 0.7917 GB, free: 11.3 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.0004256/0.808, allocations: 301 kB / 0.7919 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.646e-05/0.8081, allocations: 63.19 kB / 0.792 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007712/0.8089, allocations: 450 kB / 0.7924 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.8089, allocations: 7.984 kB / 0.7924 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.809, allocations: 4 kB / 0.7924 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006424/0.8096, allocations: 0.6495 MB / 0.7931 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.8114, allocations: 1.205 MB / 0.7943 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.8114, allocations: 0 / 0.7943 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005087/0.8119, allocations: 99.88 kB / 0.7943 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.812, allocations: 0 / 0.7943 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.812, allocations: 12 kB / 0.7944 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004034/0.8124, allocations: 0.5937 MB / 0.7949 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.751e-05/0.8124, allocations: 12.12 kB / 0.795 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009901/0.8134, allocations: 0.7322 MB / 0.7957 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.8137, allocations: 180.3 kB / 0.7958 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.8138, allocations: 11.94 kB / 0.7958 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/0.8142, allocations: 43.97 kB / 0.7959 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.443e-05/0.8143, allocations: 23.91 kB / 0.7959 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.8143, allocations: 15.98 kB / 0.7959 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004431/0.8148, allocations: 354.8 kB / 0.7963 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.963e-06/0.8148, allocations: 0 / 0.7963 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009744/0.8158, allocations: 351.1 kB / 0.7966 GB, free: 5.969 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.0005143/0.8163, allocations: 197.4 kB / 0.7968 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.8174, allocations: 0.5824 MB / 0.7974 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.8175, allocations: 0 / 0.7974 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002919/0.8177, allocations: 189.9 kB / 0.7975 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00193/0.8197, allocations: 366.2 kB / 0.7979 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.8221, allocations: 1.666 MB / 0.7995 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/0.8227, allocations: 0.9456 MB / 0.8004 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006836/0.8234, allocations: 200.9 kB / 0.8006 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.8235, allocations: 47.44 kB / 0.8007 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of SimCode: time 1.092e-05/0.8235, allocations: 0 / 0.8007 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of Templates: time 0.02133/0.8449, allocations: 11.41 MB / 0.8118 GB, free: 6.516 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)