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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001363, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001186/0.001187, allocations: 198.8 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4245/0.4245, allocations: 54.93 MB / 324.3 MB, free: 140 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 64.33 kB / 394.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1714, allocations: 59.59 MB / 454.3 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MassFraction): time 0.492/0.6635, allocations: 184.5 MB / 0.6238 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007897/0.6714, allocations: 4.439 MB / 0.6282 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.6729, allocations: 27.81 kB / 0.6282 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.6744, allocations: 427.2 kB / 0.6286 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.6779, allocations: 1.151 MB / 0.6297 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.6803, allocations: 0.7617 MB / 0.6305 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003751/0.684, allocations: 3.274 MB / 0.6337 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.6852, allocations: 0.5998 MB / 0.6343 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00251/0.6877, allocations: 1.058 MB / 0.6353 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.6893, allocations: 0.7199 MB / 0.636 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.6894, allocations: 40 kB / 0.636 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002182/0.6916, allocations: 1.138 MB / 0.6371 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003453/0.692, allocations: 323 kB / 0.6375 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005479/0.6925, allocations: 473.8 kB / 0.6379 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.3552/1.048, allocations: 1.615 MB / 0.6395 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/1.048, allocations: 0.6562 kB / 0.6395 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.725e-06/1.048, allocations: 0 / 0.6395 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.497e-05/1.048, allocations: 0 / 0.6395 GB, free: 6.988 MB / 0.4981 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.002154/1.05, allocations: 1.258 MB / 0.6407 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.05, allocations: 10.09 kB / 0.6407 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/1.051, allocations: 188.1 kB / 0.6409 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000932/1.052, allocations: 0.6006 MB / 0.6415 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/1.052, allocations: 51.66 kB / 0.6415 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/1.052, allocations: 68.97 kB / 0.6416 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/1.054, allocations: 0.8105 MB / 0.6424 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/1.054, allocations: 0.5625 kB / 0.6424 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/1.054, allocations: 26.34 kB / 0.6424 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.393e-05/1.054, allocations: 25.81 kB / 0.6424 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/1.055, allocations: 0.659 MB / 0.6431 GB, free: 5.949 MB / 0.4981 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.003212/1.058, allocations: 2.822 MB / 0.6458 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/1.059, allocations: 471 kB / 0.6463 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/1.06, allocations: 236.5 kB / 0.6465 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/1.06, allocations: 122.6 kB / 0.6466 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/1.06, allocations: 41.28 kB / 0.6467 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 1.823e-06/1.06, allocations: 0 / 0.6467 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.001562/1.062, allocations: 0.6677 MB / 0.6473 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/1.062, allocations: 58.91 kB / 0.6474 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/1.062, allocations: 0.6022 MB / 0.648 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.003e-05/1.062, allocations: 37.55 kB / 0.648 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/1.063, allocations: 351.8 kB / 0.6483 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/1.063, allocations: 148.9 kB / 0.6485 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/1.063, allocations: 120.4 kB / 0.6486 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002885/1.063, allocations: 369.8 kB / 0.649 GB, free: 19.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003918/1.064, allocations: 217 kB / 0.6492 GB, free: 19.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/1.064, allocations: 327.4 kB / 0.6495 GB, free: 19.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007907/1.065, allocations: 0.5692 MB / 0.65 GB, free: 19.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.065, allocations: 4 kB / 0.65 GB, free: 19.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001132/1.066, allocations: 0.7027 MB / 0.6507 GB, free: 18.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/1.066, allocations: 65.77 kB / 0.6508 GB, free: 18.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/1.066, allocations: 3.078 kB / 0.6508 GB, free: 18.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/1.066, allocations: 11.16 kB / 0.6508 GB, free: 18.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/1.068, allocations: 271.4 kB / 0.6511 GB, free: 18.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/1.07, allocations: 1.534 MB / 0.6525 GB, free: 17.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007965/1.071, allocations: 96.69 kB / 0.6526 GB, free: 17.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/1.071, allocations: 24.47 kB / 0.6527 GB, free: 17.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006482/1.072, allocations: 401.7 kB / 0.653 GB, free: 17.43 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003928/1.072, allocations: 321.1 kB / 0.6534 GB, free: 17.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007171/1.073, allocations: 0.5489 MB / 0.6539 GB, free: 17.13 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/1.073, allocations: 7.156 kB / 0.6539 GB, free: 17.13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001093/1.074, allocations: 0.6716 MB / 0.6546 GB, free: 17 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/1.074, allocations: 63.66 kB / 0.6546 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/1.074, allocations: 3.75 kB / 0.6546 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/1.074, allocations: 4.594 kB / 0.6546 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/1.074, allocations: 114 kB / 0.6547 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.074, allocations: 13.88 kB / 0.6547 GB, free: 16.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006632/1.075, allocations: 66.91 kB / 0.6548 GB, free: 16.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.267e-05/1.075, allocations: 26.72 kB / 0.6548 GB, free: 16.91 MB / 0.5137 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 (senMasFra1.i_x,senMasFra2.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 (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.0002568/1.075, allocations: 220.1 kB / 0.655 GB, free: 16.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/1.076, allocations: 67.62 kB / 0.6551 GB, free: 16.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009777/1.076, allocations: 0.5149 MB / 0.6556 GB, free: 16.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.077, allocations: 3.781 kB / 0.6556 GB, free: 16.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/1.077, allocations: 0 / 0.6556 GB, free: 16.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008538/1.077, allocations: 0.7311 MB / 0.6563 GB, free: 16.18 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/1.08, allocations: 1.352 MB / 0.6576 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.08, allocations: 1.875 kB / 0.6577 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/1.082, allocations: 246.7 kB / 0.6579 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/1.082, allocations: 8.75 kB / 0.6579 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-05/1.082, allocations: 8.375 kB / 0.6579 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/1.084, allocations: 1.508 MB / 0.6594 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/1.084, allocations: 3.156 kB / 0.6594 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/1.085, allocations: 0.8449 MB / 0.6602 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/1.086, allocations: 203.9 kB / 0.6604 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.62e-05/1.086, allocations: 18.55 kB / 0.6604 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006768/1.087, allocations: 63 kB / 0.6605 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/1.087, allocations: 26.89 kB / 0.6605 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-05/1.087, allocations: 31.58 kB / 0.6605 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006752/1.088, allocations: 432.1 kB / 0.6609 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/1.088, allocations: 4 kB / 0.6609 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001355/1.089, allocations: 417.8 kB / 0.6613 GB, free: 13.97 MB / 0.5137 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 (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.0005183/1.089, allocations: 194.2 kB / 0.6615 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003282/1.093, allocations: 1.14 MB / 0.6626 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/1.093, allocations: 1.656 kB / 0.6626 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002731/1.096, allocations: 0.5097 MB / 0.6631 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/1.098, allocations: 443.4 kB / 0.6636 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/1.101, allocations: 1.791 MB / 0.6653 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006138/1.102, allocations: 0.9707 MB / 0.6663 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009766/1.103, allocations: 221.8 kB / 0.6665 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/1.103, allocations: 57 kB / 0.6665 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/1.103, allocations: 0 / 0.6665 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of Templates: time 0.03228/1.135, allocations: 15.16 MB / 0.6813 GB, free: 10.02 MB / 0.5137 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)