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.0009748/0.0009748, allocations: 92.31 kB / 16.02 MB, free: 80 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.001076/0.001076, allocations: 180.1 kB / 16.92 MB, free: 6.652 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.941/0.941, allocations: 135.3 MB / 427.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 12.66 kB / 0.5082 GB, free: 4.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1647, allocations: 82.31 MB / 0.5886 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5266/0.6914, allocations: 182.1 MB / 0.7664 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008169/0.6996, allocations: 4.577 MB / 0.7709 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.7008, allocations: 27.81 kB / 0.7709 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.7019, allocations: 338.2 kB / 0.7713 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003711/0.7057, allocations: 1.264 MB / 0.7725 GB, free: 136 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.7078, allocations: 0.6743 MB / 0.7732 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003264/0.711, allocations: 2.749 MB / 0.7758 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009456/0.712, allocations: 0.5401 MB / 0.7764 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003278/0.7153, allocations: 0.94 MB / 0.7773 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.7166, allocations: 0.5928 MB / 0.7779 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.587e-05/0.7167, allocations: 31.98 kB / 0.7779 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002865/0.7196, allocations: 1.551 MB / 0.7794 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003268/0.7199, allocations: 243.3 kB / 0.7796 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005001/0.7204, allocations: 395.8 kB / 0.78 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.7219, allocations: 1.06 MB / 0.7811 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7219, allocations: 0 / 0.7811 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.485e-06/0.7219, allocations: 4 kB / 0.7811 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.7219, allocations: 4 kB / 0.7811 GB, free: 7.352 MB / 0.5919 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.001548/0.7235, allocations: 0.9525 MB / 0.782 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.7235, allocations: 8.031 kB / 0.782 GB, free: 6.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/0.7248, allocations: 206.9 kB / 0.7822 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009279/0.7258, allocations: 0.5793 MB / 0.7828 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.712e-05/0.7258, allocations: 41.31 kB / 0.7828 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/0.7259, allocations: 59.91 kB / 0.7829 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/0.7269, allocations: 0.6244 MB / 0.7835 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.7269, allocations: 0 / 0.7835 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.727, allocations: 20 kB / 0.7835 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/0.727, allocations: 17.31 kB / 0.7835 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000791/0.7278, allocations: 0.4969 MB / 0.784 GB, free: 4.25 MB / 0.5919 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.002851/0.7307, allocations: 2.388 MB / 0.7863 GB, free: 1.652 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005566/0.7313, allocations: 358 kB / 0.7867 GB, free: 1.297 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.7316, allocations: 214 kB / 0.7869 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/0.7322, allocations: 315.2 kB / 0.7872 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.7322, allocations: 43.14 kB / 0.7872 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.693e-06/0.7322, allocations: 0 / 0.7872 GB, free: 0.6719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001127/0.7334, allocations: 0.5443 MB / 0.7877 GB, free: 124 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.7334, allocations: 63.34 kB / 0.7878 GB, free: 48 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006047/0.7341, allocations: 0.4989 MB / 0.7883 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.7341, allocations: 33.7 kB / 0.7883 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.7344, allocations: 316.5 kB / 0.7886 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.7345, allocations: 134.1 kB / 0.7887 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.7345, allocations: 37.7 kB / 0.7888 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.7347, allocations: 362.8 kB / 0.7891 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.735, allocations: 144.8 kB / 0.7893 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.7353, allocations: 264.6 kB / 0.7895 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005552/0.7359, allocations: 418.8 kB / 0.7899 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7359, allocations: 7.938 kB / 0.7899 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007294/0.7366, allocations: 481.1 kB / 0.7904 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.7368, allocations: 156.9 kB / 0.7905 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7368, allocations: 4 kB / 0.7905 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.7368, allocations: 4 kB / 0.7905 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.7374, allocations: 103.8 kB / 0.7906 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004028/0.7378, allocations: 0.59 MB / 0.7912 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006181/0.7384, allocations: 73.48 kB / 0.7913 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.7385, allocations: 16 kB / 0.7913 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.7385, allocations: 4 kB / 0.7913 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006358/0.7391, allocations: 411.9 kB / 0.7917 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.7392, allocations: 7.938 kB / 0.7917 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.7392, allocations: 5.312 kB / 0.7917 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.7395, allocations: 79.91 kB / 0.7918 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.7395, allocations: 7.938 kB / 0.7918 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005122/0.74, allocations: 67.83 kB / 0.7919 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.7401, allocations: 16 kB / 0.7919 GB, free: 11.7 MB / 0.6075 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.0003592/0.7405, allocations: 301 kB / 0.7922 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.7406, allocations: 63.19 kB / 0.7922 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007214/0.7413, allocations: 454 kB / 0.7927 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.7413, allocations: 4 kB / 0.7927 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7413, allocations: 0 / 0.7927 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006257/0.7419, allocations: 0.6494 MB / 0.7933 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001752/0.7437, allocations: 1.207 MB / 0.7945 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.7437, allocations: 4 kB / 0.7945 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/0.7442, allocations: 95.88 kB / 0.7946 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.7442, allocations: 4 kB / 0.7946 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.909e-05/0.7442, allocations: 8 kB / 0.7946 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003225/0.7446, allocations: 0.5978 MB / 0.7952 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.7446, allocations: 7.938 kB / 0.7952 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.7455, allocations: 0.7284 MB / 0.7959 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.7457, allocations: 184.3 kB / 0.7961 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/0.7458, allocations: 23.81 kB / 0.7961 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.7462, allocations: 37.39 kB / 0.7961 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.7463, allocations: 23.97 kB / 0.7961 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.7463, allocations: 11.98 kB / 0.7962 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004094/0.7468, allocations: 358.8 kB / 0.7965 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7468, allocations: 4 kB / 0.7965 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009771/0.7477, allocations: 351.1 kB / 0.7968 GB, free: 6.363 MB / 0.6075 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.0004505/0.7482, allocations: 205.1 kB / 0.797 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.7494, allocations: 0.5784 MB / 0.7976 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7494, allocations: 1.125 kB / 0.7976 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.7497, allocations: 192.9 kB / 0.7978 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.7517, allocations: 353 kB / 0.7981 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.7541, allocations: 1.714 MB / 0.7998 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004827/0.7546, allocations: 0.9378 MB / 0.8007 GB, free: 2.332 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.7548, allocations: 55.42 kB / 0.8008 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.7548, allocations: 0 / 0.8008 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of Templates: time 0.01701/0.7718, allocations: 12.64 MB / 0.8131 GB, free: 5.754 MB / 0.6231 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)