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.009572/0.009572, allocations: 95.05 kB / 15.73 MB, free: 6.039 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.002245/0.002245, allocations: 206.2 kB / 16.68 MB, free: 5.969 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9683/0.9683, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002948/0.002948, allocations: 75.89 kB / 0.5858 GB, free: 3.172 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4346, allocations: 81.02 MB / 0.6649 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.215/0.6497, allocations: 186.8 MB / 0.8473 GB, free: 5.453 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008002/0.6577, allocations: 4.565 MB / 0.8517 GB, free: 0.875 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.6588, allocations: 27.81 kB / 0.8518 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.66, allocations: 409.5 kB / 0.8522 GB, free: 456 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0037/0.6638, allocations: 1.346 MB / 0.8535 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.666, allocations: 0.7612 MB / 0.8542 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002973/0.669, allocations: 1.952 MB / 0.8561 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00109/0.6701, allocations: 0.6628 MB / 0.8568 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.6733, allocations: 1.067 MB / 0.8578 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.6746, allocations: 0.5876 MB / 0.8584 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.6747, allocations: 64 kB / 0.8585 GB, free: 9.992 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002822/0.6776, allocations: 1.391 MB / 0.8598 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004099/0.678, allocations: 283.2 kB / 0.8601 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006426/0.6787, allocations: 422.1 kB / 0.8605 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003028/0.6817, allocations: 1.489 MB / 0.8619 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6817, allocations: 0 / 0.8619 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.953e-06/0.6817, allocations: 0 / 0.8619 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.6818, allocations: 0 / 0.8619 GB, free: 6.414 MB / 0.6856 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.001956/0.6837, allocations: 1.12 MB / 0.863 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.6838, allocations: 12.03 kB / 0.863 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.6839, allocations: 94.52 kB / 0.8631 GB, free: 5.129 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.6852, allocations: 195.4 kB / 0.8633 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.6864, allocations: 0.6265 MB / 0.8639 GB, free: 4.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.6865, allocations: 49.25 kB / 0.864 GB, free: 4.223 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.594e-05/0.6866, allocations: 52 kB / 0.864 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.6876, allocations: 0.6206 MB / 0.8646 GB, free: 3.535 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.6877, allocations: 11.94 kB / 0.8646 GB, free: 3.523 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/0.6877, allocations: 23.94 kB / 0.8647 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.21e-05/0.6878, allocations: 17.31 kB / 0.8647 GB, free: 3.484 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000819/0.6886, allocations: 497 kB / 0.8652 GB, free: 3 MB / 0.6856 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.003257/0.6919, allocations: 2.401 MB / 0.8675 GB, free: 400 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.6925, allocations: 348.4 kB / 0.8678 GB, free: 44 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3584/1.051, allocations: 208.7 kB / 0.868 GB, free: 55.32 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000637/1.052, allocations: 308.7 kB / 0.8683 GB, free: 55.04 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/1.052, allocations: 37.64 kB / 0.8684 GB, free: 55 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=36): time 2.715e-06/1.052, allocations: 0.9062 kB / 0.8684 GB, free: 55 MB / 0.6856 GB Notification: Performance of matching and sorting (n=36): time 0.001334/1.053, allocations: 0.5476 MB / 0.8689 GB, free: 54.96 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/1.053, allocations: 60.25 kB / 0.869 GB, free: 54.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006366/1.054, allocations: 0.4998 MB / 0.8694 GB, free: 54.78 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/1.054, allocations: 31.8 kB / 0.8695 GB, free: 54.75 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002101/1.054, allocations: 321.5 kB / 0.8698 GB, free: 54.66 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/1.054, allocations: 133.9 kB / 0.8699 GB, free: 54.59 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/1.054, allocations: 87.22 kB / 0.87 GB, free: 54.57 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001059/1.054, allocations: 365.8 kB / 0.8703 GB, free: 54.26 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/1.055, allocations: 152.9 kB / 0.8705 GB, free: 54.25 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003374/1.055, allocations: 262.4 kB / 0.8707 GB, free: 54.14 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/1.055, allocations: 412.3 kB / 0.8711 GB, free: 54.06 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/1.055, allocations: 4.156 kB / 0.8711 GB, free: 54.06 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008327/1.056, allocations: 481.4 kB / 0.8716 GB, free: 53.99 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/1.056, allocations: 9.312 kB / 0.8716 GB, free: 53.99 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.056, allocations: 3.031 kB / 0.8716 GB, free: 53.99 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/1.056, allocations: 4.703 kB / 0.8716 GB, free: 53.99 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/1.057, allocations: 101.3 kB / 0.8717 GB, free: 53.99 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002714/1.057, allocations: 0.6019 MB / 0.8723 GB, free: 53.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/1.058, allocations: 46.73 kB / 0.8723 GB, free: 53.39 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/1.058, allocations: 20.25 kB / 0.8724 GB, free: 53.39 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004919/1.058, allocations: 326.5 kB / 0.8727 GB, free: 53.31 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003442/1.059, allocations: 264.7 kB / 0.8729 GB, free: 53.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005589/1.059, allocations: 399.4 kB / 0.8733 GB, free: 53.11 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.544e-06/1.059, allocations: 1.938 kB / 0.8733 GB, free: 53.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008135/1.06, allocations: 487 kB / 0.8738 GB, free: 53.04 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.06, allocations: 6.281 kB / 0.8738 GB, free: 53.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.06, allocations: 7.797 kB / 0.8738 GB, free: 53.04 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/1.06, allocations: 4.406 kB / 0.8738 GB, free: 53.04 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/1.061, allocations: 86.31 kB / 0.8739 GB, free: 53.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/1.061, allocations: 9.578 kB / 0.8739 GB, free: 53.04 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/1.061, allocations: 37.84 kB / 0.8739 GB, free: 53.03 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/1.061, allocations: 20.03 kB / 0.8739 GB, free: 53.03 MB / 0.6856 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.0001731/1.061, allocations: 210.4 kB / 0.8741 GB, free: 52.85 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/1.061, allocations: 60.62 kB / 0.8742 GB, free: 52.82 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008005/1.062, allocations: 447.5 kB / 0.8746 GB, free: 52.76 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/1.062, allocations: 4.078 kB / 0.8746 GB, free: 52.76 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.062, allocations: 1.375 kB / 0.8746 GB, free: 52.76 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006452/1.063, allocations: 0.6548 MB / 0.8753 GB, free: 52.32 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/1.065, allocations: 1.205 MB / 0.8764 GB, free: 51.96 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.065, allocations: 2.25 kB / 0.8764 GB, free: 51.96 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005028/1.065, allocations: 97.61 kB / 0.8765 GB, free: 51.96 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-06/1.065, allocations: 3.406 kB / 0.8765 GB, free: 51.96 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/1.065, allocations: 10.91 kB / 0.8766 GB, free: 51.96 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002246/1.066, allocations: 0.5953 MB / 0.8771 GB, free: 51.37 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/1.066, allocations: 5.906 kB / 0.8771 GB, free: 51.37 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000943/1.067, allocations: 0.7467 MB / 0.8779 GB, free: 51.14 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/1.067, allocations: 179.3 kB / 0.878 GB, free: 51.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/1.067, allocations: 16.42 kB / 0.8781 GB, free: 51.01 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/1.067, allocations: 17.19 kB / 0.8781 GB, free: 51.01 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/1.067, allocations: 24.52 kB / 0.8781 GB, free: 51.01 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-05/1.067, allocations: 13.97 kB / 0.8781 GB, free: 51.01 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004301/1.068, allocations: 358.7 kB / 0.8784 GB, free: 50.93 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.8e-07/1.068, allocations: 0 / 0.8784 GB, free: 50.93 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001154/1.069, allocations: 351 kB / 0.8788 GB, free: 50.9 MB / 0.6856 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.001702/1.071, allocations: 1.369 MB / 0.8801 GB, free: 50.15 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001422/1.072, allocations: 0.6032 MB / 0.8807 GB, free: 50.13 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.072, allocations: 1.594 kB / 0.8807 GB, free: 50.13 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003239/1.072, allocations: 185.6 kB / 0.8809 GB, free: 50.13 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/1.074, allocations: 354.8 kB / 0.8812 GB, free: 50.09 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/1.081, allocations: 4.869 MB / 0.886 GB, free: 48.23 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005044/1.081, allocations: 0.9459 MB / 0.8869 GB, free: 47.53 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009032/1.082, allocations: 210.7 kB / 0.8871 GB, free: 47.52 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003243/1.083, allocations: 224.7 kB / 0.8873 GB, free: 47.51 MB / 0.6856 GB Notification: Performance of SimCode: time 1.353e-06/1.083, allocations: 1.969 kB / 0.8873 GB, free: 47.51 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04829/1.131, allocations: 17.12 MB / 0.904 GB, free: 46.32 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.54, allocations: 6 kB / 0.904 GB, free: 46.32 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_MassFraction.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)