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.001104/0.001104, 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.001226/0.001226, allocations: 195.5 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9228/0.9228, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.98 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2264, allocations: 80.92 MB / 0.5844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5613/0.7878, allocations: 186.8 MB / 0.7667 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00891/0.7968, allocations: 4.573 MB / 0.7712 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001157/0.798, allocations: 27.88 kB / 0.7712 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001219/0.7992, allocations: 409.4 kB / 0.7716 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004227/0.8035, allocations: 1.338 MB / 0.7729 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.8057, allocations: 0.7572 MB / 0.7737 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002479/0.8082, allocations: 1.958 MB / 0.7756 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008765/0.809, allocations: 0.645 MB / 0.7762 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.8117, allocations: 1.079 MB / 0.7773 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008492/0.8125, allocations: 0.5933 MB / 0.7779 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.8126, allocations: 64 kB / 0.7779 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.8152, allocations: 1.38 MB / 0.7793 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.8155, allocations: 283.2 kB / 0.7795 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004514/0.816, allocations: 418.1 kB / 0.7799 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.8182, allocations: 1.472 MB / 0.7814 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.8182, allocations: 3.938 kB / 0.7814 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.8182, allocations: 0 / 0.7814 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.8182, allocations: 0 / 0.7814 GB, free: 3.195 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.001571/0.8198, allocations: 1.089 MB / 0.7824 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.8198, allocations: 12.03 kB / 0.7824 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.8211, allocations: 202.9 kB / 0.7826 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000825/0.8219, allocations: 0.5831 MB / 0.7832 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.82e-05/0.8219, allocations: 37.31 kB / 0.7832 GB, free: 1.188 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-05/0.822, allocations: 60 kB / 0.7833 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009284/0.823, allocations: 0.6128 MB / 0.7839 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.823, allocations: 3.906 kB / 0.7839 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.8231, allocations: 28 kB / 0.7839 GB, free: 480 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.8231, allocations: 25.3 kB / 0.784 GB, free: 456 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007486/0.8239, allocations: 496.9 kB / 0.7844 GB, free: 15.96 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.002735/0.8266, allocations: 2.404 MB / 0.7868 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.8272, allocations: 354.8 kB / 0.7871 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.8275, allocations: 209.8 kB / 0.7873 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006112/0.8281, allocations: 311.2 kB / 0.7876 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.8281, allocations: 38.5 kB / 0.7876 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 2.304e-06/0.8281, allocations: 0 / 0.7876 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.001109/0.8292, allocations: 0.541 MB / 0.7882 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.8293, allocations: 59.34 kB / 0.7882 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000546/0.8298, allocations: 0.5105 MB / 0.7887 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.8299, allocations: 33.7 kB / 0.7888 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002119/0.8301, allocations: 316.5 kB / 0.7891 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.8302, allocations: 130.2 kB / 0.7892 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.8304, allocations: 82.05 kB / 0.7893 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8305, allocations: 362.8 kB / 0.7896 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.8307, allocations: 154.5 kB / 0.7898 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.8311, allocations: 272.6 kB / 0.79 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005303/0.8316, allocations: 410.8 kB / 0.7904 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8316, allocations: 0 / 0.7904 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007082/0.8323, allocations: 488.9 kB / 0.7909 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8324, allocations: 5.406 kB / 0.7909 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.8324, allocations: 4 kB / 0.7909 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/0.8324, allocations: 4 kB / 0.7909 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.833, allocations: 101.3 kB / 0.791 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000365/0.8334, allocations: 0.6016 MB / 0.7916 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.8339, allocations: 43.53 kB / 0.7916 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.8339, allocations: 19.98 kB / 0.7916 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004151/0.8343, allocations: 324.9 kB / 0.7919 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002951/0.8346, allocations: 268.3 kB / 0.7922 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005027/0.8352, allocations: 400.5 kB / 0.7926 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.653e-06/0.8352, allocations: 0 / 0.7926 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006588/0.8358, allocations: 492.4 kB / 0.7931 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/0.8358, allocations: 4 kB / 0.7931 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.8359, allocations: 4 kB / 0.7931 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.799e-06/0.8359, allocations: 4 kB / 0.7931 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.8362, allocations: 87.34 kB / 0.7931 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.8362, allocations: 7.984 kB / 0.7932 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.8367, allocations: 28.03 kB / 0.7932 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.288e-05/0.8367, allocations: 27.98 kB / 0.7932 GB, free: 6.445 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.0001415/0.8368, allocations: 209.4 kB / 0.7934 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.579e-05/0.8369, allocations: 63.19 kB / 0.7935 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006639/0.8376, allocations: 441.4 kB / 0.7939 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.8376, allocations: 4 kB / 0.7939 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.8376, allocations: 0 / 0.7939 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005896/0.8382, allocations: 0.6532 MB / 0.7945 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.8399, allocations: 1.207 MB / 0.7957 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.8399, allocations: 4.219 kB / 0.7957 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/0.8404, allocations: 93.69 kB / 0.7958 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.8404, allocations: 0 / 0.7958 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.8404, allocations: 12 kB / 0.7958 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003059/0.8408, allocations: 0.5976 MB / 0.7964 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8408, allocations: 0 / 0.7964 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009192/0.8417, allocations: 0.7402 MB / 0.7971 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.8419, allocations: 176.3 kB / 0.7973 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.869e-05/0.842, allocations: 16 kB / 0.7973 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.8424, allocations: 20.05 kB / 0.7973 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.181e-05/0.8425, allocations: 27.91 kB / 0.7974 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.653e-05/0.8425, allocations: 8.094 kB / 0.7974 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004509/0.8429, allocations: 362.8 kB / 0.7977 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8429, allocations: 0 / 0.7977 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009652/0.8439, allocations: 343.1 kB / 0.798 GB, free: 1.254 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.0005353/0.8445, allocations: 210.3 kB / 0.7982 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.8457, allocations: 0.6319 MB / 0.7989 GB, free: 428 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.8457, allocations: 0 / 0.7989 GB, free: 428 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.846, allocations: 193.8 kB / 0.799 GB, free: 236 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001662/0.8477, allocations: 362.9 kB / 0.7994 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.8497, allocations: 1.334 MB / 0.8007 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.8503, allocations: 0.9414 MB / 0.8016 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000635/0.851, allocations: 200.9 kB / 0.8018 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.8511, allocations: 55.44 kB / 0.8018 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.8511, allocations: 0 / 0.8018 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.02214/0.8732, allocations: 11.83 MB / 0.8134 GB, free: 1.672 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)