Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction") translateModel(Annex60.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3189/0.3189, allocations: 55.01 MB / 69.96 MB, free: 8.664 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001118/0.001117, allocations: 191.2 kB / 83.98 MB, free: 10.84 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.887/1.887, allocations: 194.4 MB / 292.3 MB, free: 3.605 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001888/0.001888, allocations: 112.7 kB / 350.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.000405, allocations: 15.98 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1418, allocations: 57.64 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.042/6.183, allocations: 2.141 GB / 2.606 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/6.184, allocations: 95.78 kB / 2.606 GB, free: 147.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.484/7.668, allocations: 422.8 MB / 3.019 GB, free: 84.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.293e-06/7.668, allocations: 0 / 3.019 GB, free: 84.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001056/7.668, allocations: 21.89 kB / 3.019 GB, free: 84.4 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.003258/7.671, allocations: 1.208 MB / 3.02 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/7.671, allocations: 14.05 kB / 3.02 GB, free: 83.73 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001521/7.673, allocations: 191 kB / 3.02 GB, free: 83.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/7.674, allocations: 0.6535 MB / 3.021 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/7.674, allocations: 52.09 kB / 3.021 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/7.674, allocations: 66.28 kB / 3.021 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/7.676, allocations: 0.7906 MB / 3.022 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/7.676, allocations: 3.719 kB / 3.022 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/7.676, allocations: 31.16 kB / 3.022 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.428e-05/7.676, allocations: 26.42 kB / 3.022 GB, free: 83.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001405/7.678, allocations: 0.6437 MB / 3.023 GB, free: 83.38 MB / 0.4948 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.003918/7.682, allocations: 2.83 MB / 3.025 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008716/7.683, allocations: 438.5 kB / 3.026 GB, free: 81.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/7.683, allocations: 117.3 kB / 3.026 GB, free: 81.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/7.683, allocations: 38.14 kB / 3.026 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=40): time 2.786e-06/7.683, allocations: 0 / 3.026 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40): time 0.001722/7.685, allocations: 0.681 MB / 3.027 GB, free: 81.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/7.685, allocations: 58.47 kB / 3.027 GB, free: 81.63 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006434/7.685, allocations: 0.5336 MB / 3.027 GB, free: 81.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.99e-05/7.685, allocations: 33.39 kB / 3.027 GB, free: 81.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/7.686, allocations: 356.9 kB / 3.028 GB, free: 81.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/7.686, allocations: 144.2 kB / 3.028 GB, free: 81.26 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/7.686, allocations: 11.66 kB / 3.028 GB, free: 81.26 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001055/7.686, allocations: 381.8 kB / 3.028 GB, free: 80.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/7.686, allocations: 210.2 kB / 3.028 GB, free: 80.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/7.687, allocations: 330.2 kB / 3.029 GB, free: 80.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/7.687, allocations: 308.1 kB / 3.029 GB, free: 80.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/7.687, allocations: 0 / 3.029 GB, free: 80.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001197/7.688, allocations: 0.7084 MB / 3.03 GB, free: 80.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002498/7.689, allocations: 1.113 MB / 3.031 GB, free: 79.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/7.689, allocations: 6.453 kB / 3.031 GB, free: 79.47 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/7.689, allocations: 7.781 kB / 3.031 GB, free: 79.47 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/7.691, allocations: 318.7 kB / 3.031 GB, free: 79.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007699/7.691, allocations: 0.7041 MB / 3.032 GB, free: 78.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000936/7.692, allocations: 104.7 kB / 3.032 GB, free: 78.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.744e-05/7.692, allocations: 21.56 kB / 3.032 GB, free: 78.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/7.692, allocations: 7.688 kB / 3.032 GB, free: 78.86 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009669/7.693, allocations: 0.6025 MB / 3.032 GB, free: 78.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/7.693, allocations: 3.906 kB / 3.032 GB, free: 78.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/7.693, allocations: 7.438 kB / 3.032 GB, free: 78.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/7.694, allocations: 111.7 kB / 3.033 GB, free: 78.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/7.694, allocations: 10.78 kB / 3.033 GB, free: 78.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007682/7.695, allocations: 81.88 kB / 3.033 GB, free: 78.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/7.695, allocations: 21.03 kB / 3.033 GB, free: 78.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 2 * 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.0005297/7.695, allocations: 339.8 kB / 3.033 GB, free: 78.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/7.695, allocations: 66.22 kB / 3.033 GB, free: 78.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009485/7.696, allocations: 0.5164 MB / 3.034 GB, free: 78.49 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/7.696, allocations: 2.969 kB / 3.034 GB, free: 78.49 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/7.696, allocations: 3.906 kB / 3.034 GB, free: 78.49 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007635/7.697, allocations: 0.728 MB / 3.034 GB, free: 78.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/7.699, allocations: 1.373 MB / 3.036 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/7.7, allocations: 3.875 kB / 3.036 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/7.701, allocations: 305.3 kB / 3.036 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/7.701, allocations: 3.969 kB / 3.036 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/7.701, allocations: 17.78 kB / 3.036 GB, free: 77.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002041/7.703, allocations: 1.607 MB / 3.037 GB, free: 76.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/7.703, allocations: 3.844 kB / 3.037 GB, free: 76.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/7.705, allocations: 0.9185 MB / 3.038 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/7.705, allocations: 208.5 kB / 3.039 GB, free: 75.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/7.705, allocations: 15.11 kB / 3.039 GB, free: 75.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007862/7.706, allocations: 67.22 kB / 3.039 GB, free: 75.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.454e-05/7.706, allocations: 28.5 kB / 3.039 GB, free: 75.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.228e-05/7.706, allocations: 27.03 kB / 3.039 GB, free: 75.91 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000548/7.707, allocations: 430.1 kB / 3.039 GB, free: 75.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/7.707, allocations: 0 / 3.039 GB, free: 75.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001927/7.709, allocations: 0.5328 MB / 3.04 GB, free: 75.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 38 * 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.002193/7.711, allocations: 1.388 MB / 3.041 GB, free: 75.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002871/7.714, allocations: 1.169 MB / 3.042 GB, free: 75.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/7.714, allocations: 2.406 kB / 3.042 GB, free: 75.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002735/7.717, allocations: 0.5673 MB / 3.043 GB, free: 75.15 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/7.719, allocations: 439.1 kB / 3.043 GB, free: 75.13 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/7.722, allocations: 1.827 MB / 3.045 GB, free: 74.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/7.723, allocations: 0.997 MB / 3.046 GB, free: 73.67 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001084/7.724, allocations: 214.4 kB / 3.046 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/7.725, allocations: 61.25 kB / 3.046 GB, free: 73.65 MB / 0.4948 GB Notification: Performance of SimCode: time 1.783e-06/7.725, allocations: 3.5 kB / 3.046 GB, free: 73.65 MB / 0.4948 GB Notification: Performance of Templates: time 0.04565/7.77, allocations: 31.1 MB / 3.077 GB, free: 70.57 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)