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.005977/0.005977, allocations: 100.3 kB / 15.87 MB, free: 5.871 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.00115/0.00115, allocations: 196.3 kB / 16.79 MB, free: 5.816 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.347/1.347, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9455/0.9455, allocations: 135.1 MB / 425.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 60.06 kB / 0.5053 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1691, allocations: 80.93 MB / 0.5843 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5185/0.6877, allocations: 184.5 MB / 0.7645 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007329/0.6951, allocations: 4.627 MB / 0.7691 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.6962, allocations: 27.81 kB / 0.7691 GB, free: 188 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.6974, allocations: 346.1 kB / 0.7694 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003364/0.7008, allocations: 1.261 MB / 0.7707 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001929/0.7027, allocations: 0.6837 MB / 0.7713 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002816/0.7055, allocations: 2.746 MB / 0.774 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00081/0.7064, allocations: 0.5573 MB / 0.7745 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.7093, allocations: 0.9651 MB / 0.7755 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.7104, allocations: 0.6083 MB / 0.7761 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.989e-05/0.7105, allocations: 36 kB / 0.7761 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.7133, allocations: 1.559 MB / 0.7776 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003204/0.7136, allocations: 259.2 kB / 0.7779 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004768/0.7141, allocations: 386.1 kB / 0.7783 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.7155, allocations: 1.08 MB / 0.7793 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7155, allocations: 0 / 0.7793 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7155, allocations: 0 / 0.7793 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.7156, allocations: 7.875 kB / 0.7793 GB, free: 5.707 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.001597/0.7172, allocations: 1.097 MB / 0.7804 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.7172, allocations: 8.031 kB / 0.7804 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.7185, allocations: 198.9 kB / 0.7806 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008674/0.7194, allocations: 0.5793 MB / 0.7812 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/0.7194, allocations: 41.31 kB / 0.7812 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.871e-05/0.7195, allocations: 56 kB / 0.7812 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00093/0.7204, allocations: 0.6167 MB / 0.7818 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.7205, allocations: 3.906 kB / 0.7818 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.7205, allocations: 23.98 kB / 0.7819 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-05/0.7206, allocations: 25.3 kB / 0.7819 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.7213, allocations: 0.4931 MB / 0.7824 GB, free: 2.469 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.002663/0.724, allocations: 2.385 MB / 0.7847 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005169/0.7245, allocations: 358.4 kB / 0.785 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002755/0.7248, allocations: 209.6 kB / 0.7852 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005735/0.7254, allocations: 311.2 kB / 0.7855 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.7254, allocations: 34.56 kB / 0.7856 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.485e-06/0.7254, allocations: 0 / 0.7856 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001141/0.7266, allocations: 0.5449 MB / 0.7861 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.7266, allocations: 59.34 kB / 0.7862 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005504/0.7272, allocations: 0.5067 MB / 0.7867 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.024e-05/0.7272, allocations: 29.7 kB / 0.7867 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.7274, allocations: 324.4 kB / 0.787 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.7276, allocations: 126.2 kB / 0.7871 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.7277, allocations: 86.03 kB / 0.7872 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.7278, allocations: 358.8 kB / 0.7875 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.7281, allocations: 158.5 kB / 0.7877 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.7284, allocations: 272.5 kB / 0.788 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.7289, allocations: 402.9 kB / 0.7883 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7289, allocations: 4 kB / 0.7883 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006872/0.7296, allocations: 484.9 kB / 0.7888 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.7296, allocations: 8 kB / 0.7888 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.7297, allocations: 4 kB / 0.7888 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.7297, allocations: 4 kB / 0.7888 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005766/0.7303, allocations: 108 kB / 0.7889 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003413/0.7306, allocations: 0.586 MB / 0.7895 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000578/0.7312, allocations: 71.62 kB / 0.7896 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.53e-05/0.7313, allocations: 27.92 kB / 0.7896 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004161/0.7317, allocations: 324.8 kB / 0.7899 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002915/0.732, allocations: 264.3 kB / 0.7902 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004851/0.7325, allocations: 400.5 kB / 0.7905 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.7325, allocations: 3.938 kB / 0.7905 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006444/0.7331, allocations: 496.5 kB / 0.791 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.7331, allocations: 9.875 kB / 0.791 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.7332, allocations: 4 kB / 0.791 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.7332, allocations: 7.938 kB / 0.791 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.7335, allocations: 83.91 kB / 0.7911 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.7335, allocations: 7.984 kB / 0.7911 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.734, allocations: 51.84 kB / 0.7912 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.7341, allocations: 20 kB / 0.7912 GB, free: 8.926 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.0001508/0.7342, allocations: 208.1 kB / 0.7914 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.262e-05/0.7343, allocations: 59.28 kB / 0.7914 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/0.735, allocations: 445.4 kB / 0.7919 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.735, allocations: 4 kB / 0.7919 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.7351, allocations: 0 / 0.7919 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005748/0.7356, allocations: 0.6533 MB / 0.7925 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.7372, allocations: 1.203 MB / 0.7937 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.7372, allocations: 4 kB / 0.7937 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.7377, allocations: 88.75 kB / 0.7938 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.7377, allocations: 0 / 0.7938 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.7377, allocations: 15.98 kB / 0.7938 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002794/0.738, allocations: 0.6017 MB / 0.7944 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.738, allocations: 0 / 0.7944 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008425/0.7389, allocations: 0.7366 MB / 0.7951 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002185/0.7391, allocations: 180.2 kB / 0.7953 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.452e-05/0.7392, allocations: 11.98 kB / 0.7953 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.7396, allocations: 47.91 kB / 0.7953 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.7397, allocations: 19.97 kB / 0.7953 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.7397, allocations: 17.44 kB / 0.7954 GB, free: 4.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003715/0.7401, allocations: 362.8 kB / 0.7957 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.362e-06/0.7401, allocations: 4 kB / 0.7957 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009914/0.7411, allocations: 347.1 kB / 0.796 GB, free: 3.699 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.0004418/0.7416, allocations: 189.6 kB / 0.7962 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.7428, allocations: 0.5883 MB / 0.7968 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.7428, allocations: 4 kB / 0.7968 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.7431, allocations: 192.8 kB / 0.797 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.7447, allocations: 360.2 kB / 0.7973 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.7471, allocations: 1.614 MB / 0.7989 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.7476, allocations: 0.9455 MB / 0.7998 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.7477, allocations: 59.42 kB / 0.7999 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of SimCode: time 4e-07/0.7477, allocations: 0 / 0.7999 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of Templates: time 0.01761/0.7654, allocations: 12.72 MB / 0.8123 GB, free: 3.105 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)