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.001436/0.001435, allocations: 100.2 kB / 16.35 MB, free: 5.824 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.001748/0.001748, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7794/0.7794, allocations: 132.2 MB / 423.3 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.91 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4225/0.4237, allocations: 80.19 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.586/1.01, allocations: 186.8 MB / 0.7639 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007811/1.018, allocations: 4.555 MB / 0.7683 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/1.019, allocations: 29.62 kB / 0.7684 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/1.02, allocations: 416.1 kB / 0.7688 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003484/1.024, allocations: 1.343 MB / 0.7701 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002114/1.026, allocations: 0.7586 MB / 0.7708 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002238/1.028, allocations: 1.955 MB / 0.7727 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/1.029, allocations: 0.6576 MB / 0.7734 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/1.032, allocations: 1.079 MB / 0.7744 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009425/1.033, allocations: 0.5875 MB / 0.775 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/1.033, allocations: 65.91 kB / 0.775 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002848/1.036, allocations: 1.381 MB / 0.7764 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003086/1.036, allocations: 291.3 kB / 0.7767 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005564/1.037, allocations: 415.9 kB / 0.7771 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002223/1.039, allocations: 1.484 MB / 0.7785 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/1.039, allocations: 3.812 kB / 0.7785 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.051e-06/1.039, allocations: 0.9062 kB / 0.7785 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.009e-05/1.039, allocations: 0 / 0.7785 GB, free: 1.398 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.001547/1.041, allocations: 1.083 MB / 0.7796 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/1.041, allocations: 10.28 kB / 0.7796 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/1.042, allocations: 212.6 kB / 0.7798 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009252/1.043, allocations: 0.6195 MB / 0.7804 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/1.043, allocations: 37.16 kB / 0.7804 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/1.043, allocations: 58.58 kB / 0.7805 GB, free: 16.42 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008231/1.044, allocations: 0.6178 MB / 0.7811 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/1.044, allocations: 4.281 kB / 0.7811 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.817e-05/1.044, allocations: 22.34 kB / 0.7811 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.386e-05/1.044, allocations: 24.31 kB / 0.7811 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006418/1.044, allocations: 497.9 kB / 0.7816 GB, free: 16.33 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.00257/1.047, allocations: 2.394 MB / 0.784 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/1.047, allocations: 350 kB / 0.7843 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002453/1.048, allocations: 215.5 kB / 0.7845 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005569/1.048, allocations: 307.4 kB / 0.7848 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/1.048, allocations: 34.81 kB / 0.7848 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.823e-06/1.048, allocations: 0.9062 kB / 0.7848 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.0009868/1.049, allocations: 0.5551 MB / 0.7854 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/1.049, allocations: 56.47 kB / 0.7854 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/1.05, allocations: 0.4967 MB / 0.7859 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/1.05, allocations: 35.39 kB / 0.7859 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/1.05, allocations: 320.5 kB / 0.7862 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.453e-05/1.05, allocations: 131.4 kB / 0.7864 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/1.05, allocations: 81.7 kB / 0.7864 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.05, allocations: 371.7 kB / 0.7868 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/1.051, allocations: 153.3 kB / 0.7869 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/1.051, allocations: 268.7 kB / 0.7872 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/1.051, allocations: 399.7 kB / 0.7876 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/1.051, allocations: 3.125 kB / 0.7876 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006293/1.052, allocations: 492 kB / 0.7881 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/1.052, allocations: 6.031 kB / 0.7881 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/1.052, allocations: 3.703 kB / 0.7881 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.052, allocations: 6.781 kB / 0.7881 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005415/1.053, allocations: 99.25 kB / 0.7882 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003728/1.053, allocations: 0.5992 MB / 0.7887 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/1.054, allocations: 45.3 kB / 0.7888 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/1.054, allocations: 17.81 kB / 0.7888 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003773/1.054, allocations: 327.2 kB / 0.7891 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002874/1.054, allocations: 265.6 kB / 0.7894 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004649/1.055, allocations: 401.7 kB / 0.7898 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.026e-06/1.055, allocations: 3.344 kB / 0.7898 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006405/1.055, allocations: 490.9 kB / 0.7902 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/1.055, allocations: 7.344 kB / 0.7902 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/1.055, allocations: 3.438 kB / 0.7902 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.144e-06/1.055, allocations: 7.062 kB / 0.7902 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/1.056, allocations: 90.09 kB / 0.7903 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/1.056, allocations: 4.281 kB / 0.7903 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/1.056, allocations: 31.3 kB / 0.7904 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/1.056, allocations: 16.36 kB / 0.7904 GB, free: 12.58 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.0001734/1.056, allocations: 211 kB / 0.7906 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/1.057, allocations: 63.12 kB / 0.7906 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000675/1.057, allocations: 447.3 kB / 0.7911 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.057, allocations: 8.328 kB / 0.7911 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.057, allocations: 0.9688 kB / 0.7911 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005598/1.058, allocations: 0.6501 MB / 0.7917 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/1.059, allocations: 1.202 MB / 0.7929 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.059, allocations: 0.7812 kB / 0.7929 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/1.06, allocations: 96.62 kB / 0.793 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/1.06, allocations: 2.094 kB / 0.793 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/1.06, allocations: 12.62 kB / 0.793 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003756/1.06, allocations: 0.5968 MB / 0.7936 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.06, allocations: 3.344 kB / 0.7936 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009524/1.061, allocations: 0.7361 MB / 0.7943 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002673/1.062, allocations: 170.8 kB / 0.7945 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/1.062, allocations: 25.28 kB / 0.7945 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/1.062, allocations: 11.73 kB / 0.7945 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/1.062, allocations: 26.66 kB / 0.7945 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/1.062, allocations: 15.22 kB / 0.7945 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003768/1.063, allocations: 357.9 kB / 0.7949 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/1.063, allocations: 3.375 kB / 0.7949 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009435/1.063, allocations: 340.7 kB / 0.7952 GB, free: 10.41 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.000466/1.064, allocations: 192.1 kB / 0.7954 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001035/1.065, allocations: 0.6093 MB / 0.796 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.065, allocations: 0 / 0.796 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000264/1.065, allocations: 190.3 kB / 0.7962 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/1.067, allocations: 358.3 kB / 0.7965 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/1.069, allocations: 1.323 MB / 0.7978 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004544/1.069, allocations: 0.9424 MB / 0.7987 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005729/1.07, allocations: 206.5 kB / 0.7989 GB, free: 8.941 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/1.07, allocations: 51.34 kB / 0.799 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of SimCode: time 5.31e-07/1.07, allocations: 0 / 0.799 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of Templates: time 0.02051/1.09, allocations: 11.84 MB / 0.8105 GB, free: 6.586 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)