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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.MassFraction,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007627/0.007627, allocations: 170.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.75/0.75, allocations: 135.2 MB / 151 MB, free: 13.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 223.2 MB / 406.8 MB, free: 3.211 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001004, allocations: 103.2 kB / 489.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 12 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.452/0.4523, allocations: 82.31 MB / 0.6495 GB, free: 36.08 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.572/5.025, allocations: 1.892 GB / 2.541 GB, free: 82.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/5.025, allocations: 91.95 kB / 2.542 GB, free: 82.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.672/6.697, allocations: 488.1 MB / 3.018 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.293e-06/6.697, allocations: 0 / 3.018 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.212e-05/6.697, allocations: 19.98 kB / 3.018 GB, free: 122.6 MB / 0.6823 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.002182/6.699, allocations: 1.096 MB / 3.019 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/6.699, allocations: 12.03 kB / 3.019 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/6.699, allocations: 94.45 kB / 3.019 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/6.701, allocations: 202.9 kB / 3.02 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/6.703, allocations: 0.9075 MB / 3.02 GB, free: 120.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.384e-05/6.703, allocations: 37.66 kB / 3.021 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.457e-05/6.703, allocations: 75.83 kB / 3.021 GB, free: 120.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008905/6.704, allocations: 0.5933 MB / 3.021 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/6.704, allocations: 0 / 3.021 GB, free: 119.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.185e-05/6.704, allocations: 20 kB / 3.021 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/6.704, allocations: 17.31 kB / 3.021 GB, free: 119.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006336/6.704, allocations: 476.9 kB / 3.022 GB, free: 119 MB / 0.6823 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.002536/6.707, allocations: 2.4 MB / 3.024 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/6.707, allocations: 333.9 kB / 3.024 GB, free: 116 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004828/6.708, allocations: 303.3 kB / 3.025 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/6.708, allocations: 34.56 kB / 3.025 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.094e-06/6.708, allocations: 4 kB / 3.025 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.001007/6.709, allocations: 0.5408 MB / 3.025 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/6.709, allocations: 55.41 kB / 3.025 GB, free: 115 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004324/6.709, allocations: 446.1 kB / 3.026 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.913e-05/6.709, allocations: 41.7 kB / 3.026 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/6.71, allocations: 316.6 kB / 3.026 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-05/6.71, allocations: 126.1 kB / 3.026 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/6.71, allocations: 4 kB / 3.026 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.939e-05/6.71, allocations: 370.8 kB / 3.026 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/6.71, allocations: 140.8 kB / 3.027 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/6.71, allocations: 276.1 kB / 3.027 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/6.711, allocations: 189.5 kB / 3.027 GB, free: 113 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/6.711, allocations: 0 / 3.027 GB, free: 113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006272/6.711, allocations: 486.6 kB / 3.028 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001905/6.711, allocations: 0.8816 MB / 3.028 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/6.711, allocations: 3.953 kB / 3.028 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/6.711, allocations: 4 kB / 3.028 GB, free: 111.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/6.712, allocations: 106.3 kB / 3.028 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002826/6.712, allocations: 0.5937 MB / 3.029 GB, free: 110.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006409/6.713, allocations: 75.62 kB / 3.029 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/6.713, allocations: 16 kB / 3.029 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/6.713, allocations: 8 kB / 3.029 GB, free: 110.8 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005023/6.714, allocations: 399.8 kB / 3.03 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-06/6.714, allocations: 0 / 3.03 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/6.714, allocations: 8 kB / 3.03 GB, free: 110.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/6.714, allocations: 83.91 kB / 3.03 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/6.714, allocations: 11.89 kB / 3.03 GB, free: 110.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005043/6.714, allocations: 63.92 kB / 3.03 GB, free: 110.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/6.714, allocations: 16 kB / 3.03 GB, free: 110.2 MB / 0.6823 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003966/6.715, allocations: 309.7 kB / 3.03 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.595e-05/6.715, allocations: 55.34 kB / 3.03 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006257/6.716, allocations: 443.4 kB / 3.03 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/6.716, allocations: 0 / 3.03 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/6.716, allocations: 7.953 kB / 3.031 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004985/6.716, allocations: 0.6493 MB / 3.031 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/6.718, allocations: 1.202 MB / 3.032 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/6.718, allocations: 3.938 kB / 3.032 GB, free: 107.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/6.718, allocations: 91.89 kB / 3.032 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/6.718, allocations: 8.219 kB / 3.032 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/6.718, allocations: 11.94 kB / 3.032 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002021/6.718, allocations: 0.586 MB / 3.033 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/6.718, allocations: 4.031 kB / 3.033 GB, free: 106.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007879/6.719, allocations: 0.8256 MB / 3.034 GB, free: 105.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/6.72, allocations: 172.4 kB / 3.034 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/6.72, allocations: 12 kB / 3.034 GB, free: 105.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004474/6.72, allocations: 43.86 kB / 3.034 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/6.72, allocations: 31.86 kB / 3.034 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/6.72, allocations: 12 kB / 3.034 GB, free: 105.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003652/6.721, allocations: 354.8 kB / 3.034 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.71e-07/6.721, allocations: 4 kB / 3.034 GB, free: 105.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001447/6.722, allocations: 483.1 kB / 3.035 GB, free: 104.6 MB / 0.6823 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002868/6.725, allocations: 3.117 MB / 3.038 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001076/6.726, allocations: 0.559 MB / 3.038 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/6.726, allocations: 0 / 3.038 GB, free: 100.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/6.726, allocations: 195.9 kB / 3.039 GB, free: 100.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/6.728, allocations: 356.5 kB / 3.039 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004825/6.733, allocations: 5.027 MB / 3.044 GB, free: 95.18 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/6.733, allocations: 0.9612 MB / 3.045 GB, free: 94.19 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007376/6.734, allocations: 208.9 kB / 3.045 GB, free: 93.99 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/6.734, allocations: 219.4 kB / 3.045 GB, free: 93.78 MB / 0.6823 GB Notification: Performance of SimCode: time 1.263e-06/6.734, allocations: 0 / 3.045 GB, free: 93.78 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05878/6.793, allocations: 38 MB / 3.082 GB, free: 56.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/6.793, allocations: 226 kB / 3.083 GB, free: 55.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.334/10.13, allocations: 4 kB / 3.083 GB, free: 55.82 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_MassFraction.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)