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.001153/0.001153, allocations: 109.8 kB / 16.41 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.001123/0.001123, allocations: 187 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9177/0.9177, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 67.09 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1567, allocations: 80.93 MB / 0.6653 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.531/0.6878, allocations: 186.8 MB / 0.8477 GB, free: 300 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007777/0.6956, allocations: 4.567 MB / 0.8522 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.6969, allocations: 32.12 kB / 0.8522 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.6983, allocations: 404.2 kB / 0.8526 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00381/0.7022, allocations: 1.353 MB / 0.8539 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.7045, allocations: 0.7519 MB / 0.8546 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002824/0.7073, allocations: 1.959 MB / 0.8566 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.7085, allocations: 0.648 MB / 0.8572 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003579/0.712, allocations: 1.096 MB / 0.8583 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.7133, allocations: 0.5793 MB / 0.8588 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.7136, allocations: 65.81 kB / 0.8589 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.7164, allocations: 1.391 MB / 0.8602 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000462/0.7169, allocations: 281.4 kB / 0.8605 GB, free: 7.148 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007574/0.7177, allocations: 418 kB / 0.8609 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003277/0.721, allocations: 1.487 MB / 0.8624 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.721, allocations: 0 / 0.8624 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.721, allocations: 0 / 0.8624 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.427e-05/0.721, allocations: 0 / 0.8624 GB, free: 5.441 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.002185/0.7232, allocations: 1.098 MB / 0.8634 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7233, allocations: 9.109 kB / 0.8634 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.7247, allocations: 202 kB / 0.8636 GB, free: 4.09 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.7258, allocations: 0.6144 MB / 0.8642 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.726, allocations: 41.31 kB / 0.8643 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.531e-05/0.7261, allocations: 59.98 kB / 0.8643 GB, free: 3.332 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.7271, allocations: 0.6245 MB / 0.8649 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.7272, allocations: 0 / 0.8649 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/0.7272, allocations: 20 kB / 0.865 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.7273, allocations: 21.3 kB / 0.865 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007975/0.7281, allocations: 0.4969 MB / 0.8655 GB, free: 2.156 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.003137/0.7312, allocations: 2.381 MB / 0.8678 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005496/0.7318, allocations: 361.2 kB / 0.8681 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.7321, allocations: 224.3 kB / 0.8684 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000558/0.7326, allocations: 307.2 kB / 0.8686 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.7327, allocations: 34.56 kB / 0.8687 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 1.894e-06/0.7327, allocations: 0 / 0.8687 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36): time 0.001292/0.734, allocations: 0.5593 MB / 0.8692 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.7341, allocations: 55.41 kB / 0.8693 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006249/0.7347, allocations: 0.4989 MB / 0.8698 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.512e-05/0.7348, allocations: 37.7 kB / 0.8698 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.735, allocations: 316.5 kB / 0.8701 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.7351, allocations: 130.1 kB / 0.8702 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.7353, allocations: 82.14 kB / 0.8703 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.7355, allocations: 366.8 kB / 0.8707 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.7357, allocations: 154.5 kB / 0.8708 GB, free: 12.35 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.7361, allocations: 267.3 kB / 0.8711 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.7366, allocations: 406.2 kB / 0.8714 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.7366, allocations: 0 / 0.8714 GB, free: 11.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007556/0.7374, allocations: 481.4 kB / 0.8719 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.7374, allocations: 12.02 kB / 0.8719 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.7374, allocations: 4 kB / 0.8719 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.7375, allocations: 7.938 kB / 0.8719 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005868/0.7381, allocations: 101.4 kB / 0.872 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000415/0.7385, allocations: 0.5939 MB / 0.8726 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/0.7391, allocations: 47.62 kB / 0.8727 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.7391, allocations: 19.92 kB / 0.8727 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004898/0.7396, allocations: 329.8 kB / 0.873 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003232/0.7399, allocations: 260.3 kB / 0.8732 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005269/0.7405, allocations: 400.6 kB / 0.8736 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.7405, allocations: 0 / 0.8736 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007658/0.7413, allocations: 488.4 kB / 0.8741 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.7413, allocations: 8 kB / 0.8741 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.7413, allocations: 288 / 0.8741 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/0.7413, allocations: 8 kB / 0.8741 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.7417, allocations: 87.84 kB / 0.8742 GB, free: 8.715 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.7417, allocations: 11.98 kB / 0.8742 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.7422, allocations: 23.75 kB / 0.8742 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.7422, allocations: 24.73 kB / 0.8742 GB, free: 8.656 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.0001818/0.7424, allocations: 212 kB / 0.8744 GB, free: 8.441 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.7425, allocations: 55.34 kB / 0.8745 GB, free: 8.387 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008281/0.7434, allocations: 456.7 kB / 0.8749 GB, free: 7.934 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.7434, allocations: 4 kB / 0.8749 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.7434, allocations: 0 / 0.8749 GB, free: 7.93 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00064/0.7441, allocations: 0.6559 MB / 0.8756 GB, free: 7.188 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.7459, allocations: 1.207 MB / 0.8768 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.7459, allocations: 4 kB / 0.8768 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.7464, allocations: 91.89 kB / 0.8768 GB, free: 5.809 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/0.7464, allocations: 4 kB / 0.8768 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.7465, allocations: 8 kB / 0.8769 GB, free: 5.797 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003441/0.7468, allocations: 0.5979 MB / 0.8774 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7468, allocations: 0 / 0.8774 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.7478, allocations: 0.7473 MB / 0.8782 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002535/0.7481, allocations: 176.2 kB / 0.8783 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.7482, allocations: 8 kB / 0.8783 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004079/0.7486, allocations: 21.67 kB / 0.8784 GB, free: 4.172 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.655e-05/0.7487, allocations: 19.97 kB / 0.8784 GB, free: 4.152 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.713e-05/0.7487, allocations: 19.94 kB / 0.8784 GB, free: 4.133 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004408/0.7492, allocations: 358.8 kB / 0.8787 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7492, allocations: 4 kB / 0.8787 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001038/0.7502, allocations: 343.2 kB / 0.8791 GB, free: 3.445 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.0006079/0.7508, allocations: 197.2 kB / 0.8793 GB, free: 3.254 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.7523, allocations: 0.5901 MB / 0.8798 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/0.7523, allocations: 0 / 0.8798 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.7527, allocations: 191.7 kB / 0.88 GB, free: 2.477 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/0.7544, allocations: 362.3 kB / 0.8804 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00264/0.7571, allocations: 1.365 MB / 0.8817 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.7577, allocations: 0.9414 MB / 0.8826 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.7579, allocations: 55.42 kB / 0.8827 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of SimCode: time 9.72e-07/0.758, allocations: 4 kB / 0.8827 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of Templates: time 0.02065/0.7786, allocations: 12.74 MB / 0.8951 GB, free: 3.016 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)