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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001606/0.001606, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7512/0.7512, allocations: 133.4 MB / 146.7 MB, free: 10.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.572/1.572, allocations: 221.3 MB / 400.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 99.38 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.002e-05/4.006e-05, allocations: 3.438 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1586, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.515/4.673, allocations: 1.892 GB / 2.532 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/4.674, allocations: 88.89 kB / 2.532 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.041/6.715, allocations: 487.7 MB / 3.009 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.904e-06/6.715, allocations: 0 / 3.009 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001112/6.715, allocations: 19.98 kB / 3.009 GB, free: 59.89 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.002856/6.718, allocations: 0.9969 MB / 3.01 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/6.718, allocations: 8.031 kB / 3.01 GB, free: 58.84 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003089/6.719, allocations: 98.52 kB / 3.01 GB, free: 58.73 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/6.72, allocations: 194.9 kB / 3.01 GB, free: 58.54 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/6.723, allocations: 0.9078 MB / 3.011 GB, free: 57.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.058e-05/6.723, allocations: 45.31 kB / 3.011 GB, free: 57.55 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/6.723, allocations: 52 kB / 3.011 GB, free: 57.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/6.724, allocations: 0.5856 MB / 3.012 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/6.724, allocations: 0 / 3.012 GB, free: 56.89 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.847e-05/6.724, allocations: 24 kB / 3.012 GB, free: 56.87 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/6.724, allocations: 17.31 kB / 3.012 GB, free: 56.85 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007831/6.725, allocations: 465 kB / 3.012 GB, free: 56.4 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.003163/6.728, allocations: 2.408 MB / 3.014 GB, free: 53.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/6.729, allocations: 322.7 kB / 3.015 GB, free: 53.46 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/6.729, allocations: 196.8 kB / 3.015 GB, free: 53.27 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000489/6.73, allocations: 303.3 kB / 3.015 GB, free: 52.91 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/6.73, allocations: 39.16 kB / 3.015 GB, free: 52.87 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 2.174e-06/6.73, allocations: 0 / 3.015 GB, free: 52.87 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.0009982/6.731, allocations: 412.5 kB / 3.016 GB, free: 52.46 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/6.731, allocations: 55.41 kB / 3.016 GB, free: 52.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/6.731, allocations: 448.7 kB / 3.016 GB, free: 51.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/6.731, allocations: 33.7 kB / 3.016 GB, free: 51.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/6.732, allocations: 320.5 kB / 3.016 GB, free: 51.59 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/6.732, allocations: 122.2 kB / 3.017 GB, free: 51.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/6.732, allocations: 4 kB / 3.017 GB, free: 51.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001044/6.732, allocations: 379.1 kB / 3.017 GB, free: 51.08 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002037/6.732, allocations: 136.8 kB / 3.017 GB, free: 50.95 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/6.732, allocations: 280 kB / 3.017 GB, free: 50.62 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/6.733, allocations: 181.5 kB / 3.017 GB, free: 50.44 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/6.733, allocations: 0 / 3.017 GB, free: 50.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006828/6.733, allocations: 478.4 kB / 3.018 GB, free: 49.97 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/6.734, allocations: 0.8822 MB / 3.019 GB, free: 49.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/6.734, allocations: 4 kB / 3.019 GB, free: 49.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/6.734, allocations: 4 kB / 3.019 GB, free: 49.01 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/6.734, allocations: 107.8 kB / 3.019 GB, free: 48.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003159/6.735, allocations: 0.5821 MB / 3.019 GB, free: 48.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/6.735, allocations: 75.62 kB / 3.02 GB, free: 48.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.323e-05/6.735, allocations: 23.94 kB / 3.02 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/6.735, allocations: 4 kB / 3.02 GB, free: 48.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005683/6.736, allocations: 391.5 kB / 3.02 GB, free: 47.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/6.736, allocations: 4 kB / 3.02 GB, free: 47.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/6.736, allocations: 7.938 kB / 3.02 GB, free: 47.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/6.736, allocations: 87.84 kB / 3.02 GB, free: 47.72 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/6.736, allocations: 7.984 kB / 3.02 GB, free: 47.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006235/6.737, allocations: 63.84 kB / 3.02 GB, free: 47.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.045e-05/6.737, allocations: 20 kB / 3.02 GB, free: 47.63 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 () * 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.0001421/6.737, allocations: 124.9 kB / 3.02 GB, free: 47.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/6.737, allocations: 63.3 kB / 3.02 GB, free: 47.44 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007207/6.738, allocations: 443.7 kB / 3.021 GB, free: 46.99 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/6.738, allocations: 4 kB / 3.021 GB, free: 46.99 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/6.738, allocations: 0 / 3.021 GB, free: 46.99 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000519/6.738, allocations: 0.6401 MB / 3.021 GB, free: 46.26 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/6.74, allocations: 1.201 MB / 3.023 GB, free: 44.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/6.74, allocations: 4 kB / 3.023 GB, free: 44.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/6.741, allocations: 95.88 kB / 3.023 GB, free: 44.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/6.741, allocations: 4 kB / 3.023 GB, free: 44.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/6.741, allocations: 8 kB / 3.023 GB, free: 44.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002416/6.741, allocations: 0.5978 MB / 3.023 GB, free: 44.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/6.741, allocations: 15.95 kB / 3.023 GB, free: 44.24 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008777/6.742, allocations: 0.7991 MB / 3.024 GB, free: 43.36 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003418/6.742, allocations: 180.3 kB / 3.024 GB, free: 43.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/6.742, allocations: 11.95 kB / 3.024 GB, free: 43.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/6.743, allocations: 39.97 kB / 3.024 GB, free: 43.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/6.743, allocations: 19.97 kB / 3.024 GB, free: 43.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/6.743, allocations: 19.98 kB / 3.024 GB, free: 43.07 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000407/6.743, allocations: 345.6 kB / 3.025 GB, free: 42.73 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/6.743, allocations: 0 / 3.025 GB, free: 42.73 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00176/6.745, allocations: 483.1 kB / 3.025 GB, free: 42.26 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 () * 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.003715/6.749, allocations: 3.118 MB / 3.028 GB, free: 39.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001068/6.75, allocations: 0.5805 MB / 3.029 GB, free: 38.44 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/6.75, allocations: 1.125 kB / 3.029 GB, free: 38.44 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/6.75, allocations: 188.5 kB / 3.029 GB, free: 38.26 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/6.752, allocations: 347.4 kB / 3.029 GB, free: 37.92 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/6.754, allocations: 1.246 MB / 3.03 GB, free: 36.62 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/6.755, allocations: 0.9583 MB / 3.031 GB, free: 35.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009314/6.756, allocations: 260.8 kB / 3.032 GB, free: 35.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/6.756, allocations: 207.4 kB / 3.032 GB, free: 35.18 MB / 0.6823 GB Notification: Performance of SimCode: time 1.352e-06/6.756, allocations: 0 / 3.032 GB, free: 35.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5825/7.339, allocations: 42.44 MB / 3.073 GB, free: 139.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002093/7.339, allocations: 207 kB / 3.073 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.635/10.97, allocations: 3.438 kB / 3.073 GB, free: 139.2 MB / 0.6823 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/linux/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)