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.001399/0.001399, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001375/0.001375, allocations: 192.7 kB / 16.25 MB, free: 6.617 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.498/1.498, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3956/0.3956, allocations: 54.92 MB / 324.4 MB, free: 116 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.001689/0.00169, allocations: 59.91 kB / 394.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1485, allocations: 59.59 MB / 454.5 MB, free: 488 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MassFraction): time 0.4798/0.6284, allocations: 184.3 MB / 0.6238 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007312/0.6358, allocations: 4.351 MB / 0.6281 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.6369, allocations: 27.81 kB / 0.6281 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.6385, allocations: 437.9 kB / 0.6285 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002875/0.6413, allocations: 1.132 MB / 0.6296 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.6433, allocations: 0.7772 MB / 0.6304 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002634/0.646, allocations: 2.339 MB / 0.6327 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007893/0.6468, allocations: 0.6945 MB / 0.6333 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002032/0.6488, allocations: 1.203 MB / 0.6345 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.6501, allocations: 0.7298 MB / 0.6352 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.6502, allocations: 88 kB / 0.6353 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001857/0.6521, allocations: 1.095 MB / 0.6364 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003781/0.6525, allocations: 371 kB / 0.6367 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005608/0.653, allocations: 0.4979 MB / 0.6372 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.3655/1.019, allocations: 1.655 MB / 0.6388 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/1.019, allocations: 0 / 0.6388 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.056e-06/1.019, allocations: 0 / 0.6388 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.442e-05/1.019, allocations: 0 / 0.6388 GB, free: 7.109 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.002583/1.021, allocations: 1.256 MB / 0.6401 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/1.021, allocations: 13 kB / 0.6401 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/1.023, allocations: 184.9 kB / 0.6403 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008666/1.023, allocations: 0.597 MB / 0.6408 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/1.023, allocations: 57.05 kB / 0.6409 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/1.024, allocations: 69.67 kB / 0.641 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/1.025, allocations: 0.8148 MB / 0.6418 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/1.025, allocations: 0.9375 kB / 0.6418 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.982e-05/1.025, allocations: 25.31 kB / 0.6418 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/1.025, allocations: 22.12 kB / 0.6418 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/1.026, allocations: 0.6559 MB / 0.6424 GB, free: 6.078 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.003076/1.03, allocations: 2.82 MB / 0.6452 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008962/1.03, allocations: 466.5 kB / 0.6456 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003086/1.031, allocations: 237.3 kB / 0.6459 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000337/1.031, allocations: 126.1 kB / 0.646 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/1.031, allocations: 41.45 kB / 0.646 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 1.713e-06/1.031, allocations: 0.9375 kB / 0.646 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.001585/1.033, allocations: 0.6675 MB / 0.6467 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/1.033, allocations: 57.31 kB / 0.6467 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006008/1.033, allocations: 0.6063 MB / 0.6473 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/1.033, allocations: 38.52 kB / 0.6474 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/1.034, allocations: 353.4 kB / 0.6477 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.602e-05/1.034, allocations: 145.8 kB / 0.6478 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/1.034, allocations: 112.8 kB / 0.6479 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002962/1.034, allocations: 375.1 kB / 0.6483 GB, free: 19.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/1.035, allocations: 215 kB / 0.6485 GB, free: 19.53 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004662/1.035, allocations: 331.1 kB / 0.6488 GB, free: 19.41 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009182/1.036, allocations: 0.5682 MB / 0.6494 GB, free: 19.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/1.036, allocations: 1.25 kB / 0.6494 GB, free: 19.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001365/1.037, allocations: 0.7067 MB / 0.6501 GB, free: 19.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.137e-05/1.038, allocations: 66.03 kB / 0.6501 GB, free: 19.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/1.038, allocations: 3.094 kB / 0.6501 GB, free: 19.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/1.038, allocations: 6.312 kB / 0.6501 GB, free: 19.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/1.039, allocations: 273.4 kB / 0.6504 GB, free: 19.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/1.042, allocations: 1.653 MB / 0.652 GB, free: 17.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007959/1.043, allocations: 95.44 kB / 0.6521 GB, free: 17.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.161e-05/1.043, allocations: 27.3 kB / 0.6521 GB, free: 17.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006796/1.043, allocations: 395.1 kB / 0.6525 GB, free: 17.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004585/1.044, allocations: 317.1 kB / 0.6528 GB, free: 17.39 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008807/1.045, allocations: 0.5521 MB / 0.6534 GB, free: 17.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.851e-06/1.045, allocations: 3.703 kB / 0.6534 GB, free: 17.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001358/1.046, allocations: 0.678 MB / 0.654 GB, free: 17.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/1.046, allocations: 62.09 kB / 0.6541 GB, free: 17.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/1.046, allocations: 4.344 kB / 0.6541 GB, free: 17.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/1.046, allocations: 4.656 kB / 0.6541 GB, free: 17.03 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/1.047, allocations: 123.7 kB / 0.6542 GB, free: 17.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/1.047, allocations: 3.625 kB / 0.6542 GB, free: 17.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007729/1.048, allocations: 71.22 kB / 0.6543 GB, free: 17.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/1.048, allocations: 23.47 kB / 0.6543 GB, free: 17.01 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.0003407/1.048, allocations: 215 kB / 0.6545 GB, free: 16.83 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/1.048, allocations: 72.69 kB / 0.6546 GB, free: 16.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009821/1.049, allocations: 0.5114 MB / 0.6551 GB, free: 16.74 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.049, allocations: 2.844 kB / 0.6551 GB, free: 16.74 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/1.049, allocations: 6.781 kB / 0.6551 GB, free: 16.73 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007972/1.05, allocations: 0.7267 MB / 0.6558 GB, free: 16.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002677/1.053, allocations: 1.353 MB / 0.6571 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.053, allocations: 2.156 kB / 0.6571 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/1.054, allocations: 250.7 kB / 0.6574 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/1.054, allocations: 4.094 kB / 0.6574 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.852e-05/1.054, allocations: 9.125 kB / 0.6574 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002138/1.056, allocations: 1.621 MB / 0.659 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.056, allocations: 6.188 kB / 0.659 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/1.058, allocations: 0.8387 MB / 0.6598 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/1.058, allocations: 210 kB / 0.66 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-05/1.058, allocations: 10.38 kB / 0.66 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/1.059, allocations: 74.34 kB / 0.6601 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.58e-05/1.059, allocations: 27.25 kB / 0.6601 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-05/1.059, allocations: 23.73 kB / 0.6601 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000565/1.06, allocations: 442.4 kB / 0.6605 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/1.06, allocations: 0 / 0.6605 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001381/1.061, allocations: 408.3 kB / 0.6609 GB, free: 14.02 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.0005851/1.062, allocations: 192.7 kB / 0.6611 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003176/1.065, allocations: 1.191 MB / 0.6623 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.065, allocations: 1.438 kB / 0.6623 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002618/1.068, allocations: 0.5146 MB / 0.6628 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.07, allocations: 435.1 kB / 0.6632 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/1.073, allocations: 1.788 MB / 0.6649 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006023/1.074, allocations: 0.979 MB / 0.6659 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00101/1.075, allocations: 217.2 kB / 0.6661 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/1.075, allocations: 56 kB / 0.6661 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/1.075, allocations: 1 kB / 0.6661 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of Templates: time 0.03195/1.107, allocations: 15.62 MB / 0.6814 GB, free: 10.73 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)