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.005597/0.005597, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8176/0.8176, allocations: 132.3 MB / 148.1 MB, free: 248 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.2 MB / 403.2 MB, free: 6.762 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.0009265/0.0009263, allocations: 100.3 kB / 485.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003421, allocations: 12 kB / 0.5641 GB, free: 2.164 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4114, allocations: 81.59 MB / 0.6438 GB, free: 39.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.707/4.119, allocations: 1.892 GB / 2.535 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/4.119, allocations: 95.95 kB / 2.536 GB, free: 112 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.592/5.712, allocations: 488.1 MB / 3.012 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.292e-06/5.712, allocations: 0 / 3.012 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.928e-05/5.712, allocations: 20.81 kB / 3.012 GB, free: 152.1 MB / 0.6823 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.002216/5.714, allocations: 1.094 MB / 3.013 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/5.714, allocations: 7.594 kB / 3.013 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001167/5.715, allocations: 204 kB / 3.013 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/5.717, allocations: 0.9063 MB / 3.014 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/5.717, allocations: 55 kB / 3.014 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/5.717, allocations: 57.62 kB / 3.014 GB, free: 150.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008445/5.718, allocations: 0.6026 MB / 3.015 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/5.718, allocations: 0 / 3.015 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/5.718, allocations: 23.19 kB / 3.015 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.552e-05/5.718, allocations: 18.31 kB / 3.015 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/5.719, allocations: 478.4 kB / 3.016 GB, free: 149.9 MB / 0.6823 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.002336/5.721, allocations: 2.399 MB / 3.018 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/5.721, allocations: 331 kB / 3.018 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004403/5.722, allocations: 307.9 kB / 3.019 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/5.722, allocations: 34.56 kB / 3.019 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 1.834e-06/5.722, allocations: 0 / 3.019 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.0009075/5.723, allocations: 0.5375 MB / 3.019 GB, free: 147 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/5.723, allocations: 57.91 kB / 3.019 GB, free: 147 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/5.723, allocations: 441.1 kB / 3.02 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/5.723, allocations: 33.64 kB / 3.02 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/5.724, allocations: 321.9 kB / 3.02 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/5.724, allocations: 127.2 kB / 3.02 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/5.724, allocations: 11.09 kB / 3.02 GB, free: 146.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/5.724, allocations: 366.5 kB / 3.02 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/5.724, allocations: 144.6 kB / 3.021 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/5.724, allocations: 273.3 kB / 3.021 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/5.724, allocations: 196 kB / 3.021 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/5.724, allocations: 0 / 3.021 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005879/5.725, allocations: 483.9 kB / 3.021 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001958/5.725, allocations: 0.8748 MB / 3.022 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/5.725, allocations: 0 / 3.022 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/5.725, allocations: 10.11 kB / 3.022 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/5.726, allocations: 100.2 kB / 3.022 GB, free: 144.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000303/5.726, allocations: 0.5991 MB / 3.023 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005728/5.727, allocations: 65.06 kB / 3.023 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/5.727, allocations: 15.84 kB / 3.023 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/5.727, allocations: 3.344 kB / 3.023 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005219/5.727, allocations: 402 kB / 3.023 GB, free: 143.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/5.727, allocations: 7.984 kB / 3.023 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.08e-06/5.727, allocations: 4 kB / 3.023 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000326/5.728, allocations: 83.91 kB / 3.024 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/5.728, allocations: 11.59 kB / 3.024 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/5.728, allocations: 77.94 kB / 3.024 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.172e-05/5.728, allocations: 20 kB / 3.024 GB, free: 143.3 MB / 0.6823 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 (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.0002676/5.729, allocations: 304.9 kB / 3.024 GB, free: 143 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/5.729, allocations: 55.34 kB / 3.024 GB, free: 142.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005779/5.729, allocations: 441.6 kB / 3.024 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/5.729, allocations: 4 kB / 3.024 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/5.729, allocations: 0 / 3.024 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004669/5.73, allocations: 0.6595 MB / 3.025 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001572/5.731, allocations: 1.187 MB / 3.026 GB, free: 140.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/5.731, allocations: 11.95 kB / 3.026 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/5.732, allocations: 98.73 kB / 3.026 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/5.732, allocations: 4 kB / 3.026 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.933e-05/5.732, allocations: 8 kB / 3.026 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001943/5.732, allocations: 0.5899 MB / 3.027 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/5.732, allocations: 6.344 kB / 3.027 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007673/5.733, allocations: 0.817 MB / 3.028 GB, free: 138.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/5.733, allocations: 179.2 kB / 3.028 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.823e-05/5.733, allocations: 12 kB / 3.028 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004296/5.734, allocations: 42.58 kB / 3.028 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/5.734, allocations: 31.58 kB / 3.028 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/5.734, allocations: 15.98 kB / 3.028 GB, free: 138.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003598/5.734, allocations: 353.2 kB / 3.028 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.91e-07/5.734, allocations: 0 / 3.028 GB, free: 138.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001384/5.735, allocations: 490.4 kB / 3.029 GB, free: 137.7 MB / 0.6823 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 (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.001829/5.737, allocations: 1.375 MB / 3.03 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009994/5.738, allocations: 0.5752 MB / 3.031 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/5.738, allocations: 0 / 3.031 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002417/5.739, allocations: 183.7 kB / 3.031 GB, free: 135.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/5.74, allocations: 352.5 kB / 3.031 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/5.742, allocations: 1.657 MB / 3.033 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/5.742, allocations: 0.9624 MB / 3.034 GB, free: 133 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00063/5.743, allocations: 212.5 kB / 3.034 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001153/5.743, allocations: 47.44 kB / 3.034 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of SimCode: time 5.11e-07/5.743, allocations: 0 / 3.034 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.03427/5.777, allocations: 27.53 MB / 3.061 GB, free: 105.6 MB / 0.6823 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)