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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7707/0.7707, allocations: 130.7 MB / 138.7 MB, free: 3.605 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 105 kB / 473.9 MB, free: 4.492 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.028e-05, allocations: 4 kB / 0.5485 GB, free: 13.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5465/0.5466, allocations: 81.57 MB / 0.6282 GB, free: 42.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.023/5.569, allocations: 1.891 GB / 2.519 GB, free: 21.66 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/5.57, allocations: 87.39 kB / 2.519 GB, free: 21.62 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.988/7.558, allocations: 482.2 MB / 2.99 GB, free: 62.78 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.944e-06/7.558, allocations: 0 / 2.99 GB, free: 62.78 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001101/7.558, allocations: 23.98 kB / 2.99 GB, free: 62.76 MB / 0.6667 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.003002/7.561, allocations: 0.9973 MB / 2.991 GB, free: 61.71 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/7.561, allocations: 12.03 kB / 2.991 GB, free: 61.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001825/7.563, allocations: 194.9 kB / 2.991 GB, free: 61.51 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/7.565, allocations: 0.9099 MB / 2.992 GB, free: 60.56 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.279e-05/7.565, allocations: 16 kB / 2.992 GB, free: 60.55 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/7.565, allocations: 32 kB / 2.992 GB, free: 60.52 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008776/7.566, allocations: 434.5 kB / 2.993 GB, free: 60.09 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009269/7.567, allocations: 0.5088 MB / 2.993 GB, free: 59.56 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/7.567, allocations: 11.78 kB / 2.993 GB, free: 59.55 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.084e-05/7.567, allocations: 8 kB / 2.993 GB, free: 59.54 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.844e-05/7.567, allocations: 17.31 kB / 2.993 GB, free: 59.53 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.003185/7.571, allocations: 2.277 MB / 2.995 GB, free: 57.05 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/7.571, allocations: 312.4 kB / 2.996 GB, free: 56.74 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/7.571, allocations: 200.5 kB / 2.996 GB, free: 56.54 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005157/7.572, allocations: 307.2 kB / 2.996 GB, free: 56.18 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/7.572, allocations: 34.56 kB / 2.996 GB, free: 56.14 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=36): time 3.086e-06/7.572, allocations: 0 / 2.996 GB, free: 56.14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=36): time 0.001175/7.573, allocations: 417.2 kB / 2.997 GB, free: 55.73 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/7.573, allocations: 55.41 kB / 2.997 GB, free: 55.66 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005008/7.574, allocations: 357.2 kB / 2.997 GB, free: 55.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.274e-05/7.574, allocations: 33.69 kB / 2.997 GB, free: 55.27 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/7.574, allocations: 320.3 kB / 2.997 GB, free: 54.95 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/7.574, allocations: 126.1 kB / 2.998 GB, free: 54.82 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/7.574, allocations: 0 / 2.998 GB, free: 54.82 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001673/7.574, allocations: 362.7 kB / 2.998 GB, free: 54.46 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/7.575, allocations: 128.8 kB / 2.998 GB, free: 54.34 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003166/7.575, allocations: 271.2 kB / 2.998 GB, free: 54.01 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/7.575, allocations: 202.3 kB / 2.998 GB, free: 53.82 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/7.575, allocations: 4 kB / 2.998 GB, free: 53.81 MB / 0.6667 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008047/7.576, allocations: 462.5 kB / 2.999 GB, free: 53.36 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004179/7.577, allocations: 0.8849 MB / 3 GB, free: 52.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/7.577, allocations: 0 / 3 GB, free: 52.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/7.577, allocations: 4 kB / 3 GB, free: 52.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00062/7.577, allocations: 99.86 kB / 3 GB, free: 52.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003916/7.578, allocations: 0.6016 MB / 3 GB, free: 51.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000729/7.578, allocations: 55.75 kB / 3 GB, free: 51.62 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/7.579, allocations: 20 kB / 3 GB, free: 51.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/7.579, allocations: 4 kB / 3 GB, free: 51.6 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006406/7.579, allocations: 375.5 kB / 3.001 GB, free: 51.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/7.579, allocations: 8.234 kB / 3.001 GB, free: 51.22 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/7.579, allocations: 8 kB / 3.001 GB, free: 51.21 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/7.58, allocations: 79.91 kB / 3.001 GB, free: 51.14 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/7.58, allocations: 7.938 kB / 3.001 GB, free: 51.13 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/7.58, allocations: 55.64 kB / 3.001 GB, free: 51.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/7.58, allocations: 20 kB / 3.001 GB, free: 51.05 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001404/7.58, allocations: 112.9 kB / 3.001 GB, free: 50.94 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001152/7.581, allocations: 51.34 kB / 3.001 GB, free: 50.89 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006651/7.581, allocations: 419.5 kB / 3.002 GB, free: 50.47 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/7.581, allocations: 15.86 kB / 3.002 GB, free: 50.45 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/7.581, allocations: 4 kB / 3.002 GB, free: 50.45 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005093/7.582, allocations: 0.6366 MB / 3.002 GB, free: 49.73 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/7.583, allocations: 1.119 MB / 3.003 GB, free: 48.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/7.583, allocations: 4 kB / 3.003 GB, free: 48.54 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004427/7.584, allocations: 91.89 kB / 3.003 GB, free: 48.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/7.584, allocations: 4 kB / 3.003 GB, free: 48.45 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/7.584, allocations: 4 kB / 3.003 GB, free: 48.44 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002182/7.584, allocations: 0.5899 MB / 3.004 GB, free: 47.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/7.584, allocations: 12.16 kB / 3.004 GB, free: 47.82 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008029/7.585, allocations: 0.7747 MB / 3.005 GB, free: 46.96 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/7.585, allocations: 172.4 kB / 3.005 GB, free: 46.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/7.585, allocations: 11.98 kB / 3.005 GB, free: 46.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004475/7.586, allocations: 31.97 kB / 3.005 GB, free: 46.73 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/7.586, allocations: 35.86 kB / 3.005 GB, free: 46.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/7.586, allocations: 12 kB / 3.005 GB, free: 46.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002616/7.586, allocations: 286.9 kB / 3.005 GB, free: 46.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/7.586, allocations: 0 / 3.005 GB, free: 46.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001342/7.588, allocations: 434.9 kB / 3.006 GB, free: 45.98 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002403/7.59, allocations: 1.554 MB / 3.007 GB, free: 44.38 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000982/7.591, allocations: 0.5509 MB / 3.008 GB, free: 43.82 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/7.591, allocations: 384 / 3.008 GB, free: 43.82 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/7.591, allocations: 179.8 kB / 3.008 GB, free: 43.65 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/7.593, allocations: 302.2 kB / 3.008 GB, free: 43.36 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/7.594, allocations: 1.039 MB / 3.009 GB, free: 42.27 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/7.595, allocations: 0.9577 MB / 3.01 GB, free: 41.29 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008614/7.596, allocations: 232.6 kB / 3.01 GB, free: 41.06 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/7.596, allocations: 35.44 kB / 3.01 GB, free: 41.03 MB / 0.6667 GB Notification: Performance of SimCode: time 5.61e-07/7.596, allocations: 0 / 3.01 GB, free: 41.03 MB / 0.6667 GB Notification: Performance of Templates: time 0.02859/7.624, allocations: 18.34 MB / 3.028 GB, free: 22.82 MB / 0.6667 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)