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.001339/0.001339, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 197 kB / 16.64 MB, free: 6.453 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.665/1.665, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4689/0.4689, allocations: 54.95 MB / 324.8 MB, free: 15.89 MB / 270.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.001488/0.001488, allocations: 75.91 kB / 396.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3839, allocations: 59.57 MB / 455.7 MB, free: 39.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.MassFraction): time 0.2219/0.6058, allocations: 186.8 MB / 0.6274 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008771/0.6147, allocations: 4.37 MB / 0.6317 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.6162, allocations: 31.81 kB / 0.6317 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.618, allocations: 497.1 kB / 0.6322 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003922/0.6219, allocations: 1.209 MB / 0.6333 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002832/0.6248, allocations: 0.8526 MB / 0.6342 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003577/0.6283, allocations: 2.328 MB / 0.6364 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001139/0.6295, allocations: 0.7119 MB / 0.6371 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002861/0.6324, allocations: 1.191 MB / 0.6383 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001721/0.6341, allocations: 0.6889 MB / 0.639 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001481/0.6343, allocations: 84 kB / 0.6391 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4816/1.116, allocations: 1.071 MB / 0.6401 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009174/1.117, allocations: 362.9 kB / 0.6404 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001384/1.118, allocations: 0.5035 MB / 0.6409 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003854/1.122, allocations: 1.629 MB / 0.6425 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.122, allocations: 0 / 0.6425 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.809e-06/1.122, allocations: 0 / 0.6425 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.177e-05/1.122, allocations: 0 / 0.6425 GB, free: 4.785 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.002892/1.125, allocations: 1.263 MB / 0.6438 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.616e-05/1.125, allocations: 9.281 kB / 0.6438 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/1.127, allocations: 182.2 kB / 0.6439 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/1.128, allocations: 0.6326 MB / 0.6446 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.66e-05/1.128, allocations: 53.8 kB / 0.6446 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/1.128, allocations: 71.16 kB / 0.6447 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/1.13, allocations: 0.8094 MB / 0.6455 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/1.13, allocations: 0 / 0.6455 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-05/1.13, allocations: 25 kB / 0.6455 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/1.13, allocations: 26.19 kB / 0.6455 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001437/1.132, allocations: 0.6572 MB / 0.6462 GB, free: 3.691 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.004791/1.136, allocations: 2.826 MB / 0.6489 GB, free: 18.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/1.137, allocations: 468.4 kB / 0.6494 GB, free: 18.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003863/1.138, allocations: 233 kB / 0.6496 GB, free: 18.19 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003962/1.138, allocations: 124.2 kB / 0.6497 GB, free: 18.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/1.138, allocations: 38.92 kB / 0.6497 GB, free: 18.05 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.184e-06/1.138, allocations: 6.734 kB / 0.6498 GB, free: 18.05 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.001895/1.14, allocations: 0.6675 MB / 0.6504 GB, free: 17.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/1.14, allocations: 58.16 kB / 0.6505 GB, free: 17.91 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008885/1.141, allocations: 0.6071 MB / 0.6511 GB, free: 17.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/1.141, allocations: 36.92 kB / 0.6511 GB, free: 17.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/1.142, allocations: 352.2 kB / 0.6514 GB, free: 17.58 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000167/1.142, allocations: 146.2 kB / 0.6516 GB, free: 17.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/1.142, allocations: 110.2 kB / 0.6517 GB, free: 17.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002103/1.142, allocations: 373.3 kB / 0.652 GB, free: 17.16 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004683/1.143, allocations: 216.4 kB / 0.6522 GB, free: 17.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/1.143, allocations: 332.9 kB / 0.6525 GB, free: 17.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/1.144, allocations: 0.5656 MB / 0.6531 GB, free: 16.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.144, allocations: 3.156 kB / 0.6531 GB, free: 16.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001444/1.146, allocations: 0.709 MB / 0.6538 GB, free: 16.72 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-05/1.146, allocations: 59.41 kB / 0.6539 GB, free: 16.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.146, allocations: 7.719 kB / 0.6539 GB, free: 16.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/1.146, allocations: 5.25 kB / 0.6539 GB, free: 16.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/1.148, allocations: 272.8 kB / 0.6541 GB, free: 16.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002837/1.151, allocations: 1.652 MB / 0.6557 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009022/1.152, allocations: 69.22 kB / 0.6558 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.99e-05/1.152, allocations: 24.91 kB / 0.6558 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007933/1.152, allocations: 400.2 kB / 0.6562 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004453/1.153, allocations: 315.1 kB / 0.6565 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000798/1.154, allocations: 0.5502 MB / 0.657 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/1.154, allocations: 1.906 kB / 0.657 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001555/1.155, allocations: 0.6792 MB / 0.6577 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/1.155, allocations: 63.23 kB / 0.6578 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.155, allocations: 3.875 kB / 0.6578 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/1.155, allocations: 5.438 kB / 0.6578 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005434/1.156, allocations: 113.7 kB / 0.6579 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/1.156, allocations: 9.141 kB / 0.6579 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/1.157, allocations: 47.11 kB / 0.6579 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/1.157, allocations: 25.2 kB / 0.658 GB, free: 14.63 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.0003748/1.157, allocations: 212 kB / 0.6582 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/1.157, allocations: 67.31 kB / 0.6582 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/1.158, allocations: 0.5177 MB / 0.6587 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/1.158, allocations: 4.062 kB / 0.6587 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/1.158, allocations: 5.312 kB / 0.6587 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001039/1.159, allocations: 0.7295 MB / 0.6595 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/1.162, allocations: 1.351 MB / 0.6608 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/1.162, allocations: 3.312 kB / 0.6608 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.164, allocations: 250.9 kB / 0.661 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/1.164, allocations: 3.875 kB / 0.661 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.011e-05/1.164, allocations: 15.36 kB / 0.661 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/1.166, allocations: 1.618 MB / 0.6626 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.166, allocations: 5.344 kB / 0.6626 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/1.168, allocations: 0.8342 MB / 0.6634 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/1.169, allocations: 206.6 kB / 0.6636 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.505e-05/1.169, allocations: 11.72 kB / 0.6636 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005596/1.169, allocations: 31.56 kB / 0.6637 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.169, allocations: 27.73 kB / 0.6637 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.64e-05/1.17, allocations: 27.97 kB / 0.6637 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009557/1.171, allocations: 435.8 kB / 0.6641 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/1.171, allocations: 0 / 0.6641 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001701/1.172, allocations: 419.6 kB / 0.6645 GB, free: 11.64 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.000595/1.173, allocations: 198 kB / 0.6647 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003743/1.177, allocations: 1.146 MB / 0.6659 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.177, allocations: 4.047 kB / 0.6659 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003055/1.18, allocations: 0.5077 MB / 0.6664 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/1.182, allocations: 440 kB / 0.6668 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/1.186, allocations: 1.516 MB / 0.6683 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/1.187, allocations: 0.9734 MB / 0.6692 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001202/1.188, allocations: 221.8 kB / 0.6694 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/1.188, allocations: 55 kB / 0.6695 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of SimCode: time 1.363e-06/1.189, allocations: 0.9062 kB / 0.6695 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of Templates: time 0.03755/1.226, allocations: 15.69 MB / 0.6848 GB, free: 7.668 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)