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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008331/0.0008331, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004672/0.004673, allocations: 171.5 kB / 16.27 MB, free: 6.648 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.337/1.337, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9418/0.9418, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 12 kB / 0.5077 GB, free: 4.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.146, allocations: 82.31 MB / 0.5881 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.4231/0.5691, allocations: 182.1 MB / 0.7659 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007448/0.5766, allocations: 4.569 MB / 0.7704 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005229/0.5772, allocations: 31.75 kB / 0.7704 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009619/0.5781, allocations: 342.1 kB / 0.7707 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002758/0.5809, allocations: 1.272 MB / 0.772 GB, free: 120 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.5826, allocations: 0.6795 MB / 0.7726 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003005/0.5856, allocations: 2.734 MB / 0.7753 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007089/0.5863, allocations: 0.5398 MB / 0.7758 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002675/0.589, allocations: 0.9451 MB / 0.7768 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000904/0.5899, allocations: 0.5966 MB / 0.7773 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.59, allocations: 28 kB / 0.7774 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002323/0.5923, allocations: 1.543 MB / 0.7789 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003417/0.5927, allocations: 243.2 kB / 0.7791 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003789/0.5931, allocations: 395.8 kB / 0.7795 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/0.5948, allocations: 1.491 MB / 0.7809 GB, free: 6.922 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.5948, allocations: 7.984 kB / 0.7809 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5948, allocations: 0 / 0.7809 GB, free: 6.914 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.946e-06/0.5949, allocations: 4 kB / 0.7809 GB, free: 6.91 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.00146/0.5963, allocations: 0.9448 MB / 0.7819 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5964, allocations: 8.031 kB / 0.7819 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001383/0.5965, allocations: 94.52 kB / 0.782 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.5977, allocations: 206.9 kB / 0.7822 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008554/0.5986, allocations: 0.5792 MB / 0.7827 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.5987, allocations: 41.31 kB / 0.7828 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.5988, allocations: 59.91 kB / 0.7828 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009387/0.5997, allocations: 0.6245 MB / 0.7834 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.5997, allocations: 0 / 0.7834 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.934e-05/0.5998, allocations: 24 kB / 0.7835 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.108e-05/0.5998, allocations: 25.3 kB / 0.7835 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009155/0.6008, allocations: 496.9 kB / 0.784 GB, free: 3.715 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.003032/0.6038, allocations: 2.388 MB / 0.7863 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.6044, allocations: 357.7 kB / 0.7866 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.6047, allocations: 207.3 kB / 0.7868 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006896/0.6054, allocations: 323.2 kB / 0.7871 GB, free: 192 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.6054, allocations: 43.08 kB / 0.7872 GB, free: 140 kB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 1.683e-06/0.6054, allocations: 0 / 0.7872 GB, free: 140 kB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001248/0.6067, allocations: 0.5482 MB / 0.7877 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.6067, allocations: 59.41 kB / 0.7878 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.6073, allocations: 0.4989 MB / 0.7883 GB, free: 15 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.057e-05/0.6073, allocations: 33.7 kB / 0.7883 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.6076, allocations: 316.5 kB / 0.7886 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.6077, allocations: 130.1 kB / 0.7887 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/0.6078, allocations: 41.64 kB / 0.7888 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6079, allocations: 370.7 kB / 0.7891 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.6082, allocations: 144.8 kB / 0.7892 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.6086, allocations: 264.6 kB / 0.7895 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.6092, allocations: 410.9 kB / 0.7899 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6092, allocations: 4 kB / 0.7899 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007543/0.61, allocations: 485.1 kB / 0.7904 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.685e-05/0.6101, allocations: 160.9 kB / 0.7905 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.6101, allocations: 0 / 0.7905 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6101, allocations: 4 kB / 0.7905 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.6107, allocations: 108.4 kB / 0.7906 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004583/0.6112, allocations: 0.586 MB / 0.7912 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005322/0.6117, allocations: 75.69 kB / 0.7913 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.6118, allocations: 24.73 kB / 0.7913 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/0.6118, allocations: 6.188 kB / 0.7913 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005988/0.6124, allocations: 403.9 kB / 0.7917 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.6124, allocations: 4 kB / 0.7917 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.07e-06/0.6124, allocations: 4 kB / 0.7917 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.6127, allocations: 83.84 kB / 0.7918 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.6128, allocations: 7.984 kB / 0.7918 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.6133, allocations: 67.81 kB / 0.7918 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.6133, allocations: 16 kB / 0.7918 GB, free: 11.16 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.0002893/0.6136, allocations: 308.9 kB / 0.7921 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.6137, allocations: 63.19 kB / 0.7922 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008591/0.6146, allocations: 449.2 kB / 0.7926 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6146, allocations: 4 kB / 0.7926 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6146, allocations: 0 / 0.7926 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007623/0.6154, allocations: 0.6533 MB / 0.7933 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.617, allocations: 1.204 MB / 0.7945 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.617, allocations: 4 kB / 0.7945 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.6176, allocations: 87.89 kB / 0.7945 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.6176, allocations: 4 kB / 0.7945 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.6176, allocations: 12 kB / 0.7946 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003254/0.618, allocations: 0.6055 MB / 0.7951 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.618, allocations: 4.031 kB / 0.7951 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009196/0.6189, allocations: 0.7362 MB / 0.7959 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.6191, allocations: 184.2 kB / 0.796 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.6192, allocations: 8 kB / 0.7961 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.6196, allocations: 41.17 kB / 0.7961 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.6197, allocations: 23.92 kB / 0.7961 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.6197, allocations: 15.98 kB / 0.7961 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003737/0.6201, allocations: 358.8 kB / 0.7965 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6201, allocations: 4 kB / 0.7965 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000837/0.6209, allocations: 347.1 kB / 0.7968 GB, free: 5.824 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.001569/0.6225, allocations: 1.375 MB / 0.7981 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001108/0.6236, allocations: 0.5842 MB / 0.7987 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.6236, allocations: 0 / 0.7987 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.6239, allocations: 188 kB / 0.7989 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001929/0.6259, allocations: 356.8 kB / 0.7992 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006526/0.6324, allocations: 5.278 MB / 0.8044 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.633, allocations: 0.9414 MB / 0.8053 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006707/0.6337, allocations: 208.9 kB / 0.8055 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.634, allocations: 223.4 kB / 0.8057 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of SimCode: time 1.222e-06/0.634, allocations: 0 / 0.8057 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3104/0.9444, allocations: 16.28 MB / 0.8216 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/0.9448, allocations: 259.8 kB / 0.8219 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.285/3.23, allocations: 0 / 0.8219 GB, free: 12.25 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)