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.001535/0.001535, allocations: 100 kB / 15.05 MB, free: 1.105 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.002304/0.002304, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.855/2.855, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.978/1.978, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005775/0.0005776, allocations: 16 kB / 0.5069 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3442, allocations: 82.31 MB / 0.5873 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 1.057/1.401, allocations: 155.3 MB / 0.7389 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01456/1.416, allocations: 4.454 MB / 0.7433 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/1.419, allocations: 30.62 kB / 0.7433 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002821/1.421, allocations: 432.8 kB / 0.7437 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009071/1.431, allocations: 1.23 MB / 0.7449 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005862/1.436, allocations: 0.8497 MB / 0.7458 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004948/1.441, allocations: 1.131 MB / 0.7469 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001542/1.443, allocations: 0.4888 MB / 0.7473 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003516/1.447, allocations: 0.732 MB / 0.7481 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/1.448, allocations: 370.1 kB / 0.7484 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/1.448, allocations: 32 kB / 0.7484 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003845/1.452, allocations: 0.6847 MB / 0.7491 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000719/1.453, allocations: 228.7 kB / 0.7493 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005567/1.453, allocations: 169.3 kB / 0.7495 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002432/1.456, allocations: 0.9233 MB / 0.7504 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.456, allocations: 3.938 kB / 0.7504 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.077e-06/1.456, allocations: 4 kB / 0.7504 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.108e-05/1.456, allocations: 0 / 0.7504 GB, free: 5.426 MB / 0.5606 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.003099/1.459, allocations: 0.9254 MB / 0.7513 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 8.521e-05/1.459, allocations: 8.031 kB / 0.7513 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002273/1.459, allocations: 98.5 kB / 0.7514 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002484/1.462, allocations: 206.8 kB / 0.7516 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/1.464, allocations: 0.5563 MB / 0.7521 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.777e-05/1.464, allocations: 41.25 kB / 0.7522 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/1.464, allocations: 60 kB / 0.7522 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/1.466, allocations: 0.6089 MB / 0.7528 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/1.466, allocations: 0 / 0.7528 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.442e-05/1.466, allocations: 20 kB / 0.7529 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/1.466, allocations: 33.23 kB / 0.7529 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/1.468, allocations: 496.9 kB / 0.7534 GB, free: 2.281 MB / 0.5606 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.00573/1.473, allocations: 2.388 MB / 0.7557 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/1.475, allocations: 364.1 kB / 0.756 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006528/1.475, allocations: 145 kB / 0.7562 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.964e-05/1.475, allocations: 38.56 kB / 0.7562 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=36): time 7.474e-06/1.475, allocations: 3.984 kB / 0.7562 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=36): time 0.002082/1.477, allocations: 0.5487 MB / 0.7568 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/1.478, allocations: 55.41 kB / 0.7568 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/1.479, allocations: 499 kB / 0.7573 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.547e-05/1.479, allocations: 29.7 kB / 0.7573 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004337/1.479, allocations: 324.5 kB / 0.7576 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/1.479, allocations: 134.1 kB / 0.7577 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/1.479, allocations: 8 kB / 0.7578 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002936/1.48, allocations: 366.7 kB / 0.7581 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/1.48, allocations: 140.8 kB / 0.7582 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/1.481, allocations: 268.5 kB / 0.7585 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/1.481, allocations: 181.6 kB / 0.7587 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/1.481, allocations: 0 / 0.7587 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001492/1.483, allocations: 482.1 kB / 0.7591 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007258/1.484, allocations: 0.8732 MB / 0.76 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/1.484, allocations: 4 kB / 0.76 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-05/1.484, allocations: 4 kB / 0.76 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.485, allocations: 109.3 kB / 0.7601 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007399/1.486, allocations: 0.5938 MB / 0.7607 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/1.487, allocations: 75.55 kB / 0.7607 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-05/1.487, allocations: 15.98 kB / 0.7608 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.487, allocations: 4 kB / 0.7608 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001133/1.488, allocations: 399.7 kB / 0.7611 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.488, allocations: 4 kB / 0.7611 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/1.488, allocations: 4 kB / 0.7612 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/1.489, allocations: 87.89 kB / 0.7612 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.489, allocations: 4 kB / 0.7612 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/1.49, allocations: 68.91 kB / 0.7613 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/1.49, allocations: 16 kB / 0.7613 GB, free: 9.703 MB / 0.5762 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.0006837/1.491, allocations: 312.8 kB / 0.7616 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/1.491, allocations: 59.3 kB / 0.7617 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001252/1.492, allocations: 448.7 kB / 0.7621 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/1.492, allocations: 4 kB / 0.7621 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.492, allocations: 0 / 0.7621 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/1.493, allocations: 0.6498 MB / 0.7627 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/1.497, allocations: 1.207 MB / 0.7639 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.497, allocations: 0 / 0.7639 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008528/1.498, allocations: 91.89 kB / 0.764 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-05/1.498, allocations: 4 kB / 0.764 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.437e-05/1.498, allocations: 12 kB / 0.764 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005726/1.498, allocations: 0.6018 MB / 0.7646 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.498, allocations: 0 / 0.7646 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/1.5, allocations: 0.8188 MB / 0.7654 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005144/1.501, allocations: 180.3 kB / 0.7656 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/1.501, allocations: 11.98 kB / 0.7656 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007849/1.501, allocations: 35.91 kB / 0.7656 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.972e-05/1.502, allocations: 31.91 kB / 0.7657 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.603e-05/1.502, allocations: 16 kB / 0.7657 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007393/1.502, allocations: 350.8 kB / 0.766 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/1.502, allocations: 0 / 0.766 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001703/1.504, allocations: 347.1 kB / 0.7663 GB, free: 4.262 MB / 0.5762 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.003054/1.507, allocations: 1.929 MB / 0.7682 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002088/1.509, allocations: 0.5795 MB / 0.7688 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.509, allocations: 4 kB / 0.7688 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005315/1.51, allocations: 187.7 kB / 0.769 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/1.513, allocations: 357 kB / 0.7693 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01092/1.524, allocations: 5.037 MB / 0.7742 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009815/1.525, allocations: 0.957 MB / 0.7752 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001503/1.526, allocations: 204.9 kB / 0.7754 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000566/1.527, allocations: 215.4 kB / 0.7756 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of SimCode: time 2.044e-06/1.527, allocations: 0 / 0.7756 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09803/1.625, allocations: 16.91 MB / 0.7921 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004288/1.625, allocations: 236.8 kB / 0.7923 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.964/5.589, allocations: 0 / 0.7923 GB, free: 9.801 MB / 0.6075 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) Environment - environmentSimulation: