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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006095/0.006095, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001257/0.001257, allocations: 192.6 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8192/0.8192, allocations: 132.2 MB / 422.7 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 70.45 kB / 0.5814 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1888, allocations: 80.22 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.6556/0.8445, allocations: 186.8 MB / 0.8421 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009179/0.8537, allocations: 4.564 MB / 0.8465 GB, free: 2.293 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001523/0.8553, allocations: 29.88 kB / 0.8466 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001567/0.8569, allocations: 415.7 kB / 0.847 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.8615, allocations: 1.398 MB / 0.8483 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002643/0.8642, allocations: 0.7592 MB / 0.8491 GB, free: 308 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003182/0.8674, allocations: 1.957 MB / 0.851 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.8686, allocations: 0.6604 MB / 0.8516 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003974/0.8726, allocations: 1.112 MB / 0.8527 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.8742, allocations: 0.5883 MB / 0.8533 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002595/0.8745, allocations: 67.23 kB / 0.8534 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/0.878, allocations: 1.384 MB / 0.8547 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006522/0.8787, allocations: 291.9 kB / 0.855 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/0.8799, allocations: 417.9 kB / 0.8554 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003802/0.8837, allocations: 1.476 MB / 0.8568 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.8838, allocations: 0 / 0.8568 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8838, allocations: 6.344 kB / 0.8568 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.394e-05/0.8838, allocations: 4 kB / 0.8568 GB, free: 11.6 MB / 0.6231 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.002679/0.8865, allocations: 1.092 MB / 0.8579 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.8866, allocations: 9.781 kB / 0.8579 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.8881, allocations: 207.2 kB / 0.8581 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.8894, allocations: 0.6105 MB / 0.8587 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.8894, allocations: 41.31 kB / 0.8587 GB, free: 10 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/0.8896, allocations: 63.73 kB / 0.8588 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.8907, allocations: 0.6167 MB / 0.8594 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.8908, allocations: 4 kB / 0.8594 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.8908, allocations: 20 kB / 0.8594 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.082e-05/0.8909, allocations: 17.31 kB / 0.8594 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008828/0.8917, allocations: 0.5008 MB / 0.8599 GB, free: 8.766 MB / 0.6231 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.003481/0.8952, allocations: 2.384 MB / 0.8623 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.8958, allocations: 368.4 kB / 0.8626 GB, free: 5.805 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.8962, allocations: 208.8 kB / 0.8628 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006046/0.8968, allocations: 307.2 kB / 0.8631 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.8968, allocations: 34.56 kB / 0.8631 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/0.8968, allocations: 0 / 0.8631 GB, free: 5.199 MB / 0.6231 GB Notification: Performance of matching and sorting (n=36): time 0.001246/0.8981, allocations: 0.5567 MB / 0.8637 GB, free: 4.637 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.8982, allocations: 55.41 kB / 0.8637 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006855/0.8989, allocations: 0.4989 MB / 0.8642 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.8989, allocations: 33.7 kB / 0.8643 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.8992, allocations: 320.5 kB / 0.8646 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.8994, allocations: 130.1 kB / 0.8647 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.8995, allocations: 86.03 kB / 0.8648 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.8997, allocations: 362.8 kB / 0.8651 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.8999, allocations: 154.5 kB / 0.8653 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.9003, allocations: 268.6 kB / 0.8655 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006482/0.901, allocations: 402.2 kB / 0.8659 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.901, allocations: 4 kB / 0.8659 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008832/0.9019, allocations: 481.2 kB / 0.8664 GB, free: 1.758 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.9019, allocations: 4 kB / 0.8664 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.9019, allocations: 7.938 kB / 0.8664 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.902, allocations: 7.938 kB / 0.8664 GB, free: 1.738 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006437/0.9026, allocations: 105.3 kB / 0.8665 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004928/0.9031, allocations: 0.5939 MB / 0.8671 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006506/0.9038, allocations: 49.91 kB / 0.8671 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.792e-05/0.9038, allocations: 19.94 kB / 0.8671 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004717/0.9043, allocations: 328.9 kB / 0.8674 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003346/0.9047, allocations: 264.3 kB / 0.8677 GB, free: 336 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005551/0.9052, allocations: 404.6 kB / 0.8681 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.697e-06/0.9052, allocations: 0 / 0.8681 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007681/0.906, allocations: 486 kB / 0.8685 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.906, allocations: 7.984 kB / 0.8686 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.906, allocations: 4 kB / 0.8686 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.9061, allocations: 4 kB / 0.8686 GB, free: 15.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.9065, allocations: 87.84 kB / 0.8686 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.9065, allocations: 4 kB / 0.8686 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005626/0.907, allocations: 40.02 kB / 0.8687 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/0.9071, allocations: 20 kB / 0.8687 GB, free: 15.26 MB / 0.6387 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 (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.000204/0.9073, allocations: 212 kB / 0.8689 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/0.9075, allocations: 59.33 kB / 0.869 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008336/0.9083, allocations: 436.3 kB / 0.8694 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.9083, allocations: 4 kB / 0.8694 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.9083, allocations: 2.375 kB / 0.8694 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006815/0.909, allocations: 0.6533 MB / 0.87 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.911, allocations: 1.206 MB / 0.8712 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.9111, allocations: 4.219 kB / 0.8712 GB, free: 12.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004904/0.9115, allocations: 101.2 kB / 0.8713 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.9116, allocations: 0 / 0.8713 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.9116, allocations: 12 kB / 0.8713 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003608/0.912, allocations: 0.5898 MB / 0.8719 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.912, allocations: 0 / 0.8719 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.913, allocations: 0.747 MB / 0.8726 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002628/0.9133, allocations: 176.4 kB / 0.8728 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.598e-05/0.9134, allocations: 12 kB / 0.8728 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.9138, allocations: 12 kB / 0.8728 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.9139, allocations: 23.97 kB / 0.8728 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.9139, allocations: 17.11 kB / 0.8729 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004278/0.9144, allocations: 354.8 kB / 0.8732 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9144, allocations: 3.938 kB / 0.8732 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001085/0.9155, allocations: 351.1 kB / 0.8735 GB, free: 10.07 MB / 0.6387 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 (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.0006047/0.9161, allocations: 202.2 kB / 0.8737 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.9174, allocations: 0.5941 MB / 0.8743 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.9174, allocations: 0 / 0.8743 GB, free: 9.277 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.9177, allocations: 188.8 kB / 0.8745 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.9195, allocations: 361.4 kB / 0.8748 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.9219, allocations: 1.329 MB / 0.8761 GB, free: 7.375 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000654/0.9226, allocations: 0.9414 MB / 0.877 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007548/0.9234, allocations: 200.9 kB / 0.8772 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.9235, allocations: 51.42 kB / 0.8773 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of SimCode: time 7.81e-07/0.9235, allocations: 0 / 0.8773 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of Templates: time 0.02444/0.948, allocations: 11.92 MB / 0.8889 GB, free: 10.41 MB / 0.6544 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)