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.005234/0.005234, allocations: 101.8 kB / 15.73 MB, free: 6.043 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.00107/0.00107, allocations: 184.9 kB / 16.67 MB, free: 5.977 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9605/0.9605, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.89 kB / 0.5856 GB, free: 3.312 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4453, allocations: 80.91 MB / 0.6647 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.2121/0.6575, allocations: 186.8 MB / 0.8471 GB, free: 6.113 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008331/0.6659, allocations: 4.556 MB / 0.8515 GB, free: 1.543 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.667, allocations: 27.81 kB / 0.8515 GB, free: 1.516 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.6684, allocations: 421.4 kB / 0.8519 GB, free: 1.102 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003973/0.6725, allocations: 1.4 MB / 0.8533 GB, free: 15.7 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.6748, allocations: 0.758 MB / 0.8541 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003321/0.6781, allocations: 1.971 MB / 0.856 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.6792, allocations: 0.6494 MB / 0.8566 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.6824, allocations: 1.11 MB / 0.8577 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.6836, allocations: 0.5819 MB / 0.8583 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002135/0.6839, allocations: 64 kB / 0.8583 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.6869, allocations: 1.395 MB / 0.8597 GB, free: 9.16 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004249/0.6874, allocations: 283.3 kB / 0.86 GB, free: 8.883 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007413/0.6881, allocations: 422.1 kB / 0.8604 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002883/0.691, allocations: 1.492 MB / 0.8618 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.691, allocations: 0 / 0.8618 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.553e-06/0.691, allocations: 0 / 0.8618 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.689e-05/0.6911, allocations: 0 / 0.8618 GB, free: 6.973 MB / 0.6856 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.002287/0.6934, allocations: 1.09 MB / 0.8629 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.6934, allocations: 12.03 kB / 0.8629 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.6949, allocations: 202.9 kB / 0.8631 GB, free: 5.621 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.696, allocations: 0.6143 MB / 0.8637 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.6961, allocations: 41.31 kB / 0.8637 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.6962, allocations: 55.94 kB / 0.8638 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009992/0.6972, allocations: 0.6245 MB / 0.8644 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.6972, allocations: 0 / 0.8644 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.247e-05/0.6973, allocations: 27.98 kB / 0.8644 GB, free: 4.203 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.6973, allocations: 25.25 kB / 0.8644 GB, free: 4.18 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008352/0.6982, allocations: 497 kB / 0.8649 GB, free: 3.695 MB / 0.6856 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.00315/0.7013, allocations: 2.384 MB / 0.8672 GB, free: 1.102 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.7019, allocations: 354.8 kB / 0.8676 GB, free: 0.7461 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.7022, allocations: 215.4 kB / 0.8678 GB, free: 0.5352 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005582/0.7027, allocations: 303.2 kB / 0.8681 GB, free: 188 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.7028, allocations: 46.48 kB / 0.8681 GB, free: 132 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=36): time 2.314e-06/0.7028, allocations: 0 / 0.8681 GB, free: 132 kB / 0.6856 GB Notification: Performance of matching and sorting (n=36): time 0.3493/1.052, allocations: 0.545 MB / 0.8687 GB, free: 195 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/1.052, allocations: 55.14 kB / 0.8687 GB, free: 194.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006564/1.053, allocations: 0.4964 MB / 0.8692 GB, free: 194.7 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/1.053, allocations: 33.17 kB / 0.8692 GB, free: 194.7 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/1.053, allocations: 315.1 kB / 0.8695 GB, free: 194.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.394e-05/1.053, allocations: 136.7 kB / 0.8697 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/1.053, allocations: 82.33 kB / 0.8697 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/1.053, allocations: 361.9 kB / 0.8701 GB, free: 194 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/1.054, allocations: 156 kB / 0.8702 GB, free: 194 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/1.054, allocations: 261 kB / 0.8705 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/1.054, allocations: 415.3 kB / 0.8709 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.207e-06/1.055, allocations: 0.8125 kB / 0.8709 GB, free: 193.6 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007391/1.055, allocations: 483.8 kB / 0.8713 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.055, allocations: 9.75 kB / 0.8713 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.055, allocations: 9.781 kB / 0.8714 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/1.055, allocations: 4.688 kB / 0.8714 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000613/1.056, allocations: 99.12 kB / 0.8715 GB, free: 193.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002796/1.056, allocations: 0.6024 MB / 0.872 GB, free: 192.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004612/1.057, allocations: 43.7 kB / 0.8721 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/1.057, allocations: 18.75 kB / 0.8721 GB, free: 192.7 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004349/1.057, allocations: 326.3 kB / 0.8724 GB, free: 192.6 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003067/1.058, allocations: 260.7 kB / 0.8727 GB, free: 192.4 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005116/1.058, allocations: 405.8 kB / 0.873 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.903e-06/1.058, allocations: 0.9688 kB / 0.873 GB, free: 192.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007495/1.059, allocations: 487.4 kB / 0.8735 GB, free: 192 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.059, allocations: 6.562 kB / 0.8735 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.059, allocations: 6.031 kB / 0.8735 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/1.059, allocations: 4.703 kB / 0.8735 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/1.059, allocations: 87.23 kB / 0.8736 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.059, allocations: 4.453 kB / 0.8736 GB, free: 192 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/1.06, allocations: 37.98 kB / 0.8737 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/1.06, allocations: 22.16 kB / 0.8737 GB, free: 191.9 MB / 0.6856 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.0001298/1.06, allocations: 205.8 kB / 0.8739 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/1.06, allocations: 55.73 kB / 0.8739 GB, free: 191.7 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007789/1.061, allocations: 453.2 kB / 0.8744 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/1.061, allocations: 7.875 kB / 0.8744 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.061, allocations: 0 / 0.8744 GB, free: 191.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006176/1.061, allocations: 0.6527 MB / 0.875 GB, free: 191 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/1.063, allocations: 1.203 MB / 0.8762 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.063, allocations: 2.031 kB / 0.8762 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/1.064, allocations: 93.72 kB / 0.8763 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/1.064, allocations: 6.562 kB / 0.8763 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/1.064, allocations: 11.84 kB / 0.8763 GB, free: 190.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002168/1.064, allocations: 0.5932 MB / 0.8769 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.064, allocations: 3.172 kB / 0.8769 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009935/1.065, allocations: 0.7471 MB / 0.8776 GB, free: 189.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/1.065, allocations: 177.3 kB / 0.8778 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/1.065, allocations: 9.234 kB / 0.8778 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/1.066, allocations: 18.33 kB / 0.8778 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/1.066, allocations: 31.59 kB / 0.8778 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/1.066, allocations: 15.69 kB / 0.8778 GB, free: 189.1 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004733/1.066, allocations: 361.4 kB / 0.8782 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.9e-07/1.066, allocations: 2.078 kB / 0.8782 GB, free: 188.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001063/1.067, allocations: 338.9 kB / 0.8785 GB, free: 188.9 MB / 0.6856 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.0004741/1.068, allocations: 198.3 kB / 0.8787 GB, free: 188.8 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001346/1.069, allocations: 0.5824 MB / 0.8793 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/1.069, allocations: 3.562 kB / 0.8793 GB, free: 188.6 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003552/1.07, allocations: 193.6 kB / 0.8795 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.071, allocations: 361.1 kB / 0.8798 GB, free: 188.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/1.073, allocations: 1.328 MB / 0.8811 GB, free: 187.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/1.074, allocations: 0.9397 MB / 0.882 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0005775/1.074, allocations: 204.7 kB / 0.8822 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/1.075, allocations: 51 kB / 0.8823 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of SimCode: time 2.41e-07/1.075, allocations: 0 / 0.8823 GB, free: 186.9 MB / 0.6856 GB Notification: Performance of Templates: time 0.01975/1.094, allocations: 11.93 MB / 0.8939 GB, free: 181.1 MB / 0.6856 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)