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.007772/0.007772, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00189/0.00189, allocations: 193.9 kB / 16.67 MB, free: 5.93 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.38/1.38, allocations: 222.9 MB / 240.4 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.7963/0.7963, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 71.48 kB / 0.5856 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.168, allocations: 80.92 MB / 0.6647 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5868/0.7549, allocations: 186.8 MB / 0.8471 GB, free: 276 kB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007967/0.763, allocations: 4.565 MB / 0.8515 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.7642, allocations: 32 kB / 0.8515 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.7655, allocations: 428 kB / 0.852 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00384/0.7694, allocations: 1.394 MB / 0.8533 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.7716, allocations: 0.7521 MB / 0.854 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.7737, allocations: 1.967 MB / 0.856 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007827/0.7745, allocations: 0.6487 MB / 0.8566 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.7771, allocations: 1.112 MB / 0.8577 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007619/0.7778, allocations: 0.5796 MB / 0.8583 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.517e-05/0.7779, allocations: 69 kB / 0.8583 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.7803, allocations: 1.395 MB / 0.8597 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002748/0.7806, allocations: 280.2 kB / 0.8599 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004075/0.781, allocations: 422.6 kB / 0.8604 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.783, allocations: 1.476 MB / 0.8618 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.783, allocations: 0 / 0.8618 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.543e-06/0.783, allocations: 0 / 0.8618 GB, free: 5.328 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.783, allocations: 3.938 kB / 0.8618 GB, free: 5.324 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.001636/0.7847, allocations: 1.106 MB / 0.8629 GB, free: 4.168 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.7847, allocations: 9.109 kB / 0.8629 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.786, allocations: 198.9 kB / 0.8631 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009403/0.787, allocations: 0.6183 MB / 0.8637 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.787, allocations: 41.31 kB / 0.8637 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.7871, allocations: 52 kB / 0.8638 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009842/0.7881, allocations: 0.6245 MB / 0.8644 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.7881, allocations: 0 / 0.8644 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.258e-05/0.7882, allocations: 20 kB / 0.8644 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.7882, allocations: 25.25 kB / 0.8644 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007795/0.789, allocations: 496.9 kB / 0.8649 GB, free: 2.043 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.002824/0.7919, allocations: 2.389 MB / 0.8672 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.7924, allocations: 367.2 kB / 0.8676 GB, free: 15.08 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002987/0.7927, allocations: 216.4 kB / 0.8678 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005922/0.7933, allocations: 303.2 kB / 0.8681 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.7934, allocations: 42.5 kB / 0.8681 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=36): time 1.864e-06/0.7934, allocations: 4 kB / 0.8681 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of matching and sorting (n=36): time 0.00112/0.7945, allocations: 0.5555 MB / 0.8687 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.7946, allocations: 55.41 kB / 0.8687 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005746/0.7952, allocations: 0.495 MB / 0.8692 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.7952, allocations: 33.7 kB / 0.8692 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002263/0.7954, allocations: 320.5 kB / 0.8695 GB, free: 12.97 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.7956, allocations: 130.1 kB / 0.8697 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.7957, allocations: 82.12 kB / 0.8697 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7959, allocations: 366.8 kB / 0.8701 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.7961, allocations: 150.5 kB / 0.8702 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.7965, allocations: 268.6 kB / 0.8705 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/0.797, allocations: 410.2 kB / 0.8709 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.797, allocations: 0 / 0.8709 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007188/0.7978, allocations: 485.3 kB / 0.8713 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.7978, allocations: 8 kB / 0.8713 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7978, allocations: 0 / 0.8713 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.7978, allocations: 7.938 kB / 0.8714 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005936/0.7984, allocations: 110 kB / 0.8715 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003793/0.7988, allocations: 0.5862 MB / 0.872 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.7993, allocations: 51.58 kB / 0.8721 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.7994, allocations: 20 kB / 0.8721 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004411/0.7998, allocations: 324.9 kB / 0.8724 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003278/0.8002, allocations: 260.3 kB / 0.8727 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005416/0.8007, allocations: 404.6 kB / 0.873 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.673e-06/0.8007, allocations: 3.938 kB / 0.8731 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007122/0.8014, allocations: 484.4 kB / 0.8735 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.8015, allocations: 14.47 kB / 0.8735 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.8015, allocations: 7.938 kB / 0.8735 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.631e-06/0.8015, allocations: 4 kB / 0.8735 GB, free: 8.668 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.8019, allocations: 83.91 kB / 0.8736 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.8019, allocations: 4 kB / 0.8736 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.8023, allocations: 38.69 kB / 0.8737 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.8024, allocations: 16 kB / 0.8737 GB, free: 8.531 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.0001606/0.8025, allocations: 220 kB / 0.8739 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.8027, allocations: 55.34 kB / 0.8739 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007761/0.8034, allocations: 437.7 kB / 0.8744 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.8035, allocations: 4 kB / 0.8744 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.8035, allocations: 0 / 0.8744 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000693/0.8042, allocations: 0.6598 MB / 0.875 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.8059, allocations: 1.207 MB / 0.8762 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.8059, allocations: 4 kB / 0.8762 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004909/0.8064, allocations: 91.88 kB / 0.8763 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.8064, allocations: 4 kB / 0.8763 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.8064, allocations: 12 kB / 0.8763 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003023/0.8067, allocations: 0.5939 MB / 0.8769 GB, free: 5.059 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.8067, allocations: 4.031 kB / 0.8769 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.8077, allocations: 0.7433 MB / 0.8776 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.8079, allocations: 180.3 kB / 0.8778 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.3e-05/0.808, allocations: 12 kB / 0.8778 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/0.8084, allocations: 10.06 kB / 0.8778 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.8085, allocations: 31.91 kB / 0.8778 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.8085, allocations: 15.98 kB / 0.8778 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000403/0.8089, allocations: 358.8 kB / 0.8782 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8089, allocations: 0 / 0.8782 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000929/0.8099, allocations: 351.1 kB / 0.8785 GB, free: 3.32 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.000489/0.8104, allocations: 198.5 kB / 0.8787 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.8115, allocations: 0.5974 MB / 0.8793 GB, free: 2.531 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.8116, allocations: 3.984 kB / 0.8793 GB, free: 2.527 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.8119, allocations: 183.7 kB / 0.8795 GB, free: 2.348 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.8136, allocations: 355.8 kB / 0.8798 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.8158, allocations: 1.329 MB / 0.8811 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.8165, allocations: 0.9414 MB / 0.882 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0006941/0.8172, allocations: 196.9 kB / 0.8822 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.8174, allocations: 51.42 kB / 0.8823 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of SimCode: time 3.71e-07/0.8174, allocations: 4 kB / 0.8823 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.02136/0.8388, allocations: 11.92 MB / 0.8939 GB, free: 3.645 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)