Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001312/0.001312, allocations: 102.6 kB / 16.4 MB, free: 6.461 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.001324/0.001324, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.26/1.26, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7274/0.7274, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 65.92 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.132, allocations: 80.93 MB / 0.6653 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.502/0.6341, allocations: 186.8 MB / 0.8477 GB, free: 444 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007387/0.6415, allocations: 4.564 MB / 0.8522 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009835/0.6425, allocations: 33.69 kB / 0.8522 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.6438, allocations: 410.9 kB / 0.8526 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.6475, allocations: 1.354 MB / 0.8539 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/0.6496, allocations: 0.7487 MB / 0.8546 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002663/0.6522, allocations: 1.955 MB / 0.8566 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.6533, allocations: 0.6558 MB / 0.8572 GB, free: 9.238 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.6564, allocations: 1.093 MB / 0.8583 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.6576, allocations: 0.5884 MB / 0.8588 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001732/0.6578, allocations: 64.88 kB / 0.8589 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.6602, allocations: 1.378 MB / 0.8602 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.6605, allocations: 294.2 kB / 0.8605 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006768/0.6612, allocations: 415.3 kB / 0.8609 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.6636, allocations: 1.482 MB / 0.8624 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6637, allocations: 0 / 0.8624 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6637, allocations: 0 / 0.8624 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.593e-05/0.6637, allocations: 0 / 0.8624 GB, free: 5.602 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.001661/0.6654, allocations: 1.102 MB / 0.8634 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.6654, allocations: 9.109 kB / 0.8635 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.6666, allocations: 206.9 kB / 0.8637 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009624/0.6676, allocations: 0.6066 MB / 0.8642 GB, free: 3.586 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.6676, allocations: 45.25 kB / 0.8643 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.6677, allocations: 52 kB / 0.8643 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009306/0.6687, allocations: 0.6284 MB / 0.865 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.6687, allocations: 0 / 0.865 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.6687, allocations: 20 kB / 0.865 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.054e-05/0.6688, allocations: 21.31 kB / 0.865 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.6695, allocations: 0.493 MB / 0.8655 GB, free: 2.316 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.002732/0.6723, allocations: 2.385 MB / 0.8678 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/0.6728, allocations: 359.3 kB / 0.8681 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.6731, allocations: 216.7 kB / 0.8683 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005406/0.6736, allocations: 303.2 kB / 0.8686 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.6737, allocations: 38.56 kB / 0.8687 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 1.824e-06/0.6737, allocations: 4 kB / 0.8687 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36): time 0.001057/0.6748, allocations: 0.5554 MB / 0.8692 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.6748, allocations: 55.41 kB / 0.8693 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.6754, allocations: 0.4989 MB / 0.8698 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.6754, allocations: 37.7 kB / 0.8698 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.6756, allocations: 316.5 kB / 0.8701 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.6758, allocations: 130.1 kB / 0.8702 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.6759, allocations: 86.12 kB / 0.8703 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.6761, allocations: 366.8 kB / 0.8707 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.6763, allocations: 154.5 kB / 0.8708 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.6766, allocations: 264.6 kB / 0.8711 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005227/0.6772, allocations: 402.2 kB / 0.8714 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6772, allocations: 4 kB / 0.8714 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007086/0.6779, allocations: 489.4 kB / 0.8719 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.6779, allocations: 4 kB / 0.8719 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6779, allocations: 4 kB / 0.8719 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.6779, allocations: 7.938 kB / 0.8719 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/0.6785, allocations: 106.2 kB / 0.872 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003578/0.6789, allocations: 0.59 MB / 0.8726 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/0.6793, allocations: 47.64 kB / 0.8726 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.6793, allocations: 20 kB / 0.8727 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004076/0.6798, allocations: 328.9 kB / 0.873 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003006/0.6801, allocations: 264.2 kB / 0.8732 GB, free: 9.875 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005012/0.6806, allocations: 400.6 kB / 0.8736 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.6806, allocations: 0 / 0.8736 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006684/0.6813, allocations: 476.5 kB / 0.8741 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.6813, allocations: 10.16 kB / 0.8741 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.6813, allocations: 4 kB / 0.8741 GB, free: 8.969 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.6813, allocations: 8 kB / 0.8741 GB, free: 8.961 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.6816, allocations: 95.81 kB / 0.8742 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.6817, allocations: 7.938 kB / 0.8742 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000421/0.6821, allocations: 35.73 kB / 0.8742 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.6821, allocations: 16 kB / 0.8742 GB, free: 8.809 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.0001493/0.6823, allocations: 212 kB / 0.8744 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/0.6824, allocations: 59.34 kB / 0.8745 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006835/0.6831, allocations: 440.6 kB / 0.8749 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.6831, allocations: 4 kB / 0.8749 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.6831, allocations: 0 / 0.8749 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006245/0.6837, allocations: 0.6559 MB / 0.8756 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.6853, allocations: 1.211 MB / 0.8767 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6853, allocations: 4 kB / 0.8767 GB, free: 6.059 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004406/0.6858, allocations: 93.38 kB / 0.8768 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.6858, allocations: 4 kB / 0.8768 GB, free: 5.965 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.6858, allocations: 11.94 kB / 0.8769 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002992/0.6862, allocations: 0.6017 MB / 0.8774 GB, free: 5.328 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6862, allocations: 4.031 kB / 0.8774 GB, free: 5.324 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008866/0.6871, allocations: 0.7433 MB / 0.8782 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002182/0.6873, allocations: 176.3 kB / 0.8783 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.878e-05/0.6874, allocations: 8 kB / 0.8783 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.6877, allocations: 13.67 kB / 0.8784 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.6878, allocations: 27.97 kB / 0.8784 GB, free: 4.305 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.6878, allocations: 16 kB / 0.8784 GB, free: 4.289 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004057/0.6882, allocations: 358.8 kB / 0.8787 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6882, allocations: 0 / 0.8787 GB, free: 3.941 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009587/0.6892, allocations: 347.2 kB / 0.8791 GB, free: 3.602 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.0004868/0.6897, allocations: 191.1 kB / 0.8793 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.6909, allocations: 0.6017 MB / 0.8798 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6909, allocations: 0 / 0.8798 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000303/0.6912, allocations: 191.7 kB / 0.88 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/0.6928, allocations: 364.5 kB / 0.8804 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.6949, allocations: 1.369 MB / 0.8817 GB, free: 0.8555 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.6956, allocations: 0.9413 MB / 0.8826 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.6957, allocations: 55.42 kB / 0.8827 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of SimCode: time 9.02e-07/0.6957, allocations: 0 / 0.8827 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of Templates: time 0.01679/0.7125, allocations: 12.82 MB / 0.8952 GB, free: 3.086 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)