Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.MassFraction") translateModel(IDEAS.Fluid.Sensors.Examples.MassFraction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00132/0.00132, allocations: 108 kB / 15.61 MB, free: 152 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.001265/0.001265, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7584/0.7584, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 65.62 kB / 0.5018 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4541, allocations: 80.2 MB / 0.5801 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.2003/0.6545, allocations: 186.8 MB / 0.7625 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007955/0.6625, allocations: 4.56 MB / 0.767 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009616/0.6635, allocations: 31.81 kB / 0.767 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.6647, allocations: 417.3 kB / 0.7674 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.6681, allocations: 1.334 MB / 0.7687 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.6703, allocations: 0.755 MB / 0.7694 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002636/0.673, allocations: 1.96 MB / 0.7713 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.674, allocations: 0.6554 MB / 0.772 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003154/0.6772, allocations: 1.065 MB / 0.773 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001254/0.6784, allocations: 0.5798 MB / 0.7736 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.6787, allocations: 64 kB / 0.7736 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.6818, allocations: 1.384 MB / 0.775 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004934/0.6823, allocations: 287.2 kB / 0.7753 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008405/0.6832, allocations: 418.1 kB / 0.7757 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002713/0.6859, allocations: 1.469 MB / 0.7771 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.6859, allocations: 0 / 0.7771 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6859, allocations: 0 / 0.7771 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.336e-05/0.686, allocations: 0 / 0.7771 GB, free: 7.09 MB / 0.6075 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.002288/0.6883, allocations: 1.098 MB / 0.7782 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.6883, allocations: 8.031 kB / 0.7782 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.6898, allocations: 206.9 kB / 0.7784 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.6908, allocations: 0.5754 MB / 0.7789 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/0.6909, allocations: 45.31 kB / 0.779 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.653e-05/0.691, allocations: 59.84 kB / 0.779 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000959/0.692, allocations: 0.6206 MB / 0.7796 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.692, allocations: 4 kB / 0.7797 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.201e-05/0.6921, allocations: 20 kB / 0.7797 GB, free: 4.352 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.6921, allocations: 21.3 kB / 0.7797 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008006/0.6929, allocations: 0.4969 MB / 0.7802 GB, free: 3.836 MB / 0.6075 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.003129/0.696, allocations: 2.4 MB / 0.7825 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005457/0.6966, allocations: 358.8 kB / 0.7829 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.6969, allocations: 208.7 kB / 0.7831 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005756/0.6975, allocations: 311.8 kB / 0.7834 GB, free: 308 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.6975, allocations: 42.56 kB / 0.7834 GB, free: 256 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.854e-06/0.6975, allocations: 0 / 0.7834 GB, free: 256 kB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001153/0.6987, allocations: 0.5481 MB / 0.7839 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.6987, allocations: 55.41 kB / 0.784 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.6993, allocations: 0.495 MB / 0.7845 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.6993, allocations: 33.7 kB / 0.7845 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.6996, allocations: 320.5 kB / 0.7848 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.6997, allocations: 130.2 kB / 0.7849 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.6998, allocations: 86.03 kB / 0.785 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.7, allocations: 366.8 kB / 0.7854 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.7002, allocations: 150.5 kB / 0.7855 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.7005, allocations: 260.6 kB / 0.7858 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.7011, allocations: 418.7 kB / 0.7862 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7011, allocations: 0 / 0.7862 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008304/0.702, allocations: 484.9 kB / 0.7866 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.702, allocations: 9.25 kB / 0.7866 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.702, allocations: 0 / 0.7866 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.702, allocations: 7.938 kB / 0.7866 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00057/0.7026, allocations: 111.9 kB / 0.7867 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004811/0.7031, allocations: 0.5901 MB / 0.7873 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004933/0.7036, allocations: 47.27 kB / 0.7874 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/0.7037, allocations: 20 kB / 0.7874 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004882/0.7042, allocations: 328.8 kB / 0.7877 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003225/0.7045, allocations: 264.3 kB / 0.7879 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005292/0.705, allocations: 404.6 kB / 0.7883 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.006e-06/0.705, allocations: 0 / 0.7883 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007508/0.7058, allocations: 488.6 kB / 0.7888 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.7058, allocations: 8 kB / 0.7888 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.7058, allocations: 4 kB / 0.7888 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.7058, allocations: 11.92 kB / 0.7888 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.7062, allocations: 87.84 kB / 0.7889 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/0.7062, allocations: 4 kB / 0.7889 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.7067, allocations: 31.83 kB / 0.7889 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.307e-05/0.7067, allocations: 16 kB / 0.789 GB, free: 10.32 MB / 0.6231 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.0002324/0.707, allocations: 220.1 kB / 0.7892 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.7071, allocations: 59.25 kB / 0.7892 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007244/0.7078, allocations: 437.4 kB / 0.7896 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.7078, allocations: 4 kB / 0.7896 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7079, allocations: 0 / 0.7896 GB, free: 9.602 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006346/0.7085, allocations: 0.661 MB / 0.7903 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.7103, allocations: 1.197 MB / 0.7915 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.7103, allocations: 4 kB / 0.7915 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.7107, allocations: 87.89 kB / 0.7915 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.7108, allocations: 4.219 kB / 0.7915 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.7108, allocations: 19.98 kB / 0.7916 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002887/0.7111, allocations: 0.5898 MB / 0.7921 GB, free: 6.855 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.7111, allocations: 4.031 kB / 0.7921 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008804/0.712, allocations: 0.7394 MB / 0.7929 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/0.7122, allocations: 172.4 kB / 0.793 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.107e-05/0.7123, allocations: 15.98 kB / 0.793 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.7127, allocations: 12 kB / 0.7931 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.7128, allocations: 23.97 kB / 0.7931 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.7128, allocations: 15.98 kB / 0.7931 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004234/0.7133, allocations: 362.8 kB / 0.7934 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7133, allocations: 0 / 0.7934 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008911/0.7142, allocations: 351.1 kB / 0.7938 GB, free: 5.125 MB / 0.6231 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.0004461/0.7146, allocations: 201.4 kB / 0.794 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.7158, allocations: 0.6369 MB / 0.7946 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7159, allocations: 3.938 kB / 0.7946 GB, free: 4.289 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003036/0.7162, allocations: 187.8 kB / 0.7948 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/0.7178, allocations: 350 kB / 0.7951 GB, free: 3.777 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.7198, allocations: 1.328 MB / 0.7964 GB, free: 2.402 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.7204, allocations: 0.9414 MB / 0.7973 GB, free: 1.434 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007131/0.7211, allocations: 212.8 kB / 0.7975 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.7212, allocations: 51.38 kB / 0.7976 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.7213, allocations: 0 / 0.7976 GB, free: 1.176 MB / 0.6231 GB Notification: Performance of Templates: time 0.02119/0.7425, allocations: 11.84 MB / 0.8091 GB, free: 5.551 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)