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.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001644/0.001644, allocations: 194 kB / 16.14 MB, free: 6.711 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9608/0.9608, allocations: 135.1 MB / 425.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001408, allocations: 67.95 kB / 0.5047 GB, free: 5.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1833, allocations: 80.92 MB / 0.5837 GB, free: 4.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5816/0.765, allocations: 184.5 MB / 0.7639 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008307/0.7733, allocations: 4.624 MB / 0.7684 GB, free: 240 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001142/0.7745, allocations: 31.81 kB / 0.7685 GB, free: 208 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.776, allocations: 354.2 kB / 0.7688 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003545/0.7796, allocations: 1.261 MB / 0.77 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.7817, allocations: 0.6775 MB / 0.7707 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003115/0.7848, allocations: 2.746 MB / 0.7734 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007828/0.7856, allocations: 0.5527 MB / 0.7739 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003207/0.7888, allocations: 0.9684 MB / 0.7749 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.7899, allocations: 0.5992 MB / 0.7754 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.224e-05/0.79, allocations: 36 kB / 0.7755 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.7936, allocations: 1.563 MB / 0.777 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003486/0.7939, allocations: 259.2 kB / 0.7772 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.7945, allocations: 386.1 kB / 0.7776 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.7973, allocations: 1.511 MB / 0.7791 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.7974, allocations: 0 / 0.7791 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.7974, allocations: 0 / 0.7791 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.7974, allocations: 0 / 0.7791 GB, free: 5.301 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.001791/0.7992, allocations: 1.104 MB / 0.7802 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.7992, allocations: 8.031 kB / 0.7802 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.8006, allocations: 194.9 kB / 0.7804 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008939/0.8015, allocations: 0.5793 MB / 0.7809 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.8015, allocations: 45.25 kB / 0.781 GB, free: 3.289 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-05/0.8016, allocations: 56 kB / 0.781 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009414/0.8026, allocations: 0.6205 MB / 0.7816 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.8026, allocations: 3.906 kB / 0.7816 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.8027, allocations: 28 kB / 0.7817 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.168e-05/0.8027, allocations: 21.31 kB / 0.7817 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007843/0.8035, allocations: 0.4892 MB / 0.7822 GB, free: 2.055 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.002868/0.8064, allocations: 2.392 MB / 0.7845 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005587/0.8069, allocations: 350.8 kB / 0.7848 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.8072, allocations: 206.8 kB / 0.785 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006101/0.8079, allocations: 307.2 kB / 0.7853 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.8079, allocations: 38.56 kB / 0.7854 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.144e-06/0.8079, allocations: 0 / 0.7854 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001152/0.8091, allocations: 0.5449 MB / 0.7859 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.8091, allocations: 63.34 kB / 0.7859 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005374/0.8097, allocations: 0.5027 MB / 0.7864 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.8097, allocations: 29.7 kB / 0.7865 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.81, allocations: 316.5 kB / 0.7868 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.8101, allocations: 134.2 kB / 0.7869 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.8102, allocations: 86.03 kB / 0.787 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.8104, allocations: 358.8 kB / 0.7873 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.8106, allocations: 158.5 kB / 0.7875 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.811, allocations: 272.4 kB / 0.7877 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006218/0.8116, allocations: 406.9 kB / 0.7881 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.8116, allocations: 0 / 0.7881 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008498/0.8125, allocations: 480.9 kB / 0.7886 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.8125, allocations: 8 kB / 0.7886 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.8125, allocations: 0 / 0.7886 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.8125, allocations: 4 kB / 0.7886 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.8131, allocations: 112.7 kB / 0.7887 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003665/0.8135, allocations: 0.5861 MB / 0.7893 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005886/0.8141, allocations: 71.59 kB / 0.7893 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.8142, allocations: 23.98 kB / 0.7894 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004893/0.8147, allocations: 324.9 kB / 0.7897 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003471/0.815, allocations: 266.4 kB / 0.7899 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005129/0.8156, allocations: 400.5 kB / 0.7903 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.724e-06/0.8156, allocations: 3.938 kB / 0.7903 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007003/0.8163, allocations: 492.4 kB / 0.7908 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.8163, allocations: 9.25 kB / 0.7908 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.8163, allocations: 0 / 0.7908 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.241e-06/0.8163, allocations: 4 kB / 0.7908 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/0.8167, allocations: 95.83 kB / 0.7909 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.8167, allocations: 4 kB / 0.7909 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.8173, allocations: 59.94 kB / 0.7909 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.8173, allocations: 16 kB / 0.791 GB, free: 8.516 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.0001667/0.8175, allocations: 204.1 kB / 0.7912 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-05/0.8176, allocations: 71.27 kB / 0.7912 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000711/0.8183, allocations: 437.4 kB / 0.7916 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.8183, allocations: 7.984 kB / 0.7916 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8183, allocations: 0 / 0.7916 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005919/0.8189, allocations: 0.6533 MB / 0.7923 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.8206, allocations: 1.209 MB / 0.7935 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.8206, allocations: 0 / 0.7935 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/0.8211, allocations: 91.88 kB / 0.7936 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.8211, allocations: 4 kB / 0.7936 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.8211, allocations: 12 kB / 0.7936 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002975/0.8214, allocations: 0.6017 MB / 0.7942 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.8214, allocations: 0.875 kB / 0.7942 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.8224, allocations: 0.7366 MB / 0.7949 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.8227, allocations: 184.2 kB / 0.7951 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.768e-05/0.8228, allocations: 12 kB / 0.7951 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.8232, allocations: 43.09 kB / 0.7951 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.8233, allocations: 23.97 kB / 0.7951 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.753e-05/0.8233, allocations: 16 kB / 0.7951 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004173/0.8237, allocations: 366.8 kB / 0.7955 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8237, allocations: 0 / 0.7955 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009245/0.8247, allocations: 343.1 kB / 0.7958 GB, free: 3.285 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.0004164/0.8251, allocations: 201 kB / 0.796 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.8263, allocations: 0.5898 MB / 0.7966 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8263, allocations: 256 / 0.7966 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.8266, allocations: 192.7 kB / 0.7968 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001691/0.8283, allocations: 352.8 kB / 0.7971 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.8304, allocations: 1.568 MB / 0.7986 GB, free: 376 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004817/0.8309, allocations: 0.9417 MB / 0.7996 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006667/0.8315, allocations: 204.9 kB / 0.7998 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.8317, allocations: 47.44 kB / 0.7998 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of SimCode: time 1.583e-06/0.8317, allocations: 0 / 0.7998 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of Templates: time 0.01995/0.8516, allocations: 11.46 MB / 0.811 GB, free: 3.895 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)