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.001693/0.001693, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.002129/0.002129, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8586/0.8586, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.89 kB / 0.5024 GB, free: 11.64 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4324, allocations: 80.19 MB / 0.5807 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.5913/1.024, allocations: 186.8 MB / 0.7631 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008699/1.032, allocations: 4.554 MB / 0.7676 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/1.034, allocations: 32.38 kB / 0.7676 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001351/1.035, allocations: 412.6 kB / 0.768 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004195/1.04, allocations: 1.342 MB / 0.7693 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/1.042, allocations: 0.7436 MB / 0.77 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003008/1.045, allocations: 1.956 MB / 0.772 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/1.046, allocations: 0.6637 MB / 0.7726 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003455/1.05, allocations: 1.064 MB / 0.7736 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/1.051, allocations: 0.5861 MB / 0.7742 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/1.051, allocations: 66.03 kB / 0.7743 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003784/1.055, allocations: 1.378 MB / 0.7756 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004694/1.055, allocations: 287.5 kB / 0.7759 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000782/1.056, allocations: 415.6 kB / 0.7763 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003231/1.059, allocations: 1.473 MB / 0.7777 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.06, allocations: 2.094 kB / 0.7777 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/1.06, allocations: 1.969 kB / 0.7777 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.158e-05/1.06, allocations: 0 / 0.7777 GB, free: 1.43 MB / 0.5762 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.001928/1.061, allocations: 1.087 MB / 0.7788 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/1.062, allocations: 12.58 kB / 0.7788 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/1.063, allocations: 206.3 kB / 0.779 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009403/1.064, allocations: 0.5852 MB / 0.7796 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.927e-05/1.064, allocations: 41.16 kB / 0.7796 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.226e-05/1.064, allocations: 54.72 kB / 0.7797 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009514/1.065, allocations: 0.6214 MB / 0.7803 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/1.065, allocations: 0 / 0.7803 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.056e-05/1.065, allocations: 20.91 kB / 0.7803 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/1.065, allocations: 29.77 kB / 0.7803 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006965/1.066, allocations: 0.4937 MB / 0.7808 GB, free: 16.36 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.002917/1.069, allocations: 2.408 MB / 0.7832 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/1.069, allocations: 351.5 kB / 0.7835 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/1.069, allocations: 216.1 kB / 0.7837 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/1.07, allocations: 305.5 kB / 0.784 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/1.07, allocations: 37.19 kB / 0.784 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.934e-06/1.07, allocations: 0 / 0.784 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001165/1.071, allocations: 0.5537 MB / 0.7846 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/1.071, allocations: 57.47 kB / 0.7846 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005204/1.072, allocations: 0.4959 MB / 0.7851 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/1.072, allocations: 35.92 kB / 0.7851 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/1.072, allocations: 320 kB / 0.7854 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/1.072, allocations: 126.9 kB / 0.7856 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/1.072, allocations: 88.88 kB / 0.7857 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.073, allocations: 366.4 kB / 0.786 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/1.073, allocations: 151 kB / 0.7861 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/1.073, allocations: 265.6 kB / 0.7864 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004742/1.074, allocations: 406.3 kB / 0.7868 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.074, allocations: 3.094 kB / 0.7868 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006489/1.074, allocations: 484.1 kB / 0.7873 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.074, allocations: 3.344 kB / 0.7873 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.074, allocations: 6.172 kB / 0.7873 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/1.074, allocations: 6.672 kB / 0.7873 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/1.075, allocations: 105.9 kB / 0.7874 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004088/1.075, allocations: 0.5959 MB / 0.788 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/1.076, allocations: 43.38 kB / 0.788 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/1.076, allocations: 22.72 kB / 0.788 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004573/1.076, allocations: 327.2 kB / 0.7883 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003187/1.077, allocations: 261.6 kB / 0.7886 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005346/1.077, allocations: 407.1 kB / 0.789 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.704e-06/1.077, allocations: 0 / 0.789 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0006722/1.078, allocations: 489.1 kB / 0.7894 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/1.078, allocations: 7.328 kB / 0.7894 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/1.078, allocations: 2.625 kB / 0.7894 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/1.078, allocations: 9 kB / 0.7894 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/1.078, allocations: 89.03 kB / 0.7895 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/1.078, allocations: 11.02 kB / 0.7895 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004886/1.079, allocations: 34.09 kB / 0.7896 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/1.079, allocations: 17.41 kB / 0.7896 GB, free: 12.6 MB / 0.5919 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.0002094/1.079, allocations: 209.8 kB / 0.7898 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/1.079, allocations: 61.31 kB / 0.7899 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000692/1.08, allocations: 444.3 kB / 0.7903 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.08, allocations: 3.562 kB / 0.7903 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.08, allocations: 1.203 kB / 0.7903 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000641/1.081, allocations: 0.6568 MB / 0.7909 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/1.082, allocations: 1.206 MB / 0.7921 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.082, allocations: 0 / 0.7921 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/1.083, allocations: 90.7 kB / 0.7922 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.794e-06/1.083, allocations: 7.641 kB / 0.7922 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.023e-05/1.083, allocations: 9.656 kB / 0.7922 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000412/1.083, allocations: 0.5992 MB / 0.7928 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.083, allocations: 2.094 kB / 0.7928 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009096/1.084, allocations: 0.7335 MB / 0.7935 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/1.084, allocations: 172.2 kB / 0.7937 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.719e-05/1.085, allocations: 21.19 kB / 0.7937 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003679/1.085, allocations: 15.47 kB / 0.7937 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.98e-05/1.085, allocations: 23.58 kB / 0.7937 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/1.085, allocations: 17.42 kB / 0.7937 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003915/1.085, allocations: 357.2 kB / 0.7941 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.085, allocations: 0 / 0.7941 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009381/1.086, allocations: 344.1 kB / 0.7944 GB, free: 10.44 MB / 0.5919 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.0004894/1.087, allocations: 200.9 kB / 0.7946 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001204/1.088, allocations: 0.6338 MB / 0.7952 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.088, allocations: 0 / 0.7952 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000269/1.088, allocations: 191.7 kB / 0.7954 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/1.09, allocations: 358 kB / 0.7957 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/1.093, allocations: 1.39 MB / 0.7971 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007285/1.094, allocations: 0.9411 MB / 0.798 GB, free: 8.957 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/1.094, allocations: 52.3 kB / 0.7981 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/1.094, allocations: 0 / 0.7981 GB, free: 8.949 MB / 0.5919 GB Notification: Performance of Templates: time 0.02222/1.116, allocations: 12.68 MB / 0.8105 GB, free: 5.93 MB / 0.5919 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)