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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7628/0.7628, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 69.42 kB / 0.5019 GB, free: 8.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1405, allocations: 80.2 MB / 0.5802 GB, free: 8.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.MassFraction): time 0.4635/0.604, allocations: 186.8 MB / 0.7626 GB, free: 7.969 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007895/0.6119, allocations: 4.562 MB / 0.767 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.6132, allocations: 31.81 kB / 0.7671 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.6145, allocations: 405.5 kB / 0.7675 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003528/0.6181, allocations: 1.337 MB / 0.7688 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.6207, allocations: 0.7542 MB / 0.7695 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003032/0.6237, allocations: 1.962 MB / 0.7714 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.6249, allocations: 0.6458 MB / 0.772 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.6278, allocations: 1.087 MB / 0.7731 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.6288, allocations: 0.5807 MB / 0.7737 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.629, allocations: 68 kB / 0.7737 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.6314, allocations: 1.38 MB / 0.7751 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.6317, allocations: 283.2 kB / 0.7754 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004465/0.6322, allocations: 418.1 kB / 0.7758 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001946/0.6342, allocations: 1.469 MB / 0.7772 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6342, allocations: 3.938 kB / 0.7772 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.323e-06/0.6342, allocations: 0 / 0.7772 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.6342, allocations: 0 / 0.7772 GB, free: 8.98 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.001503/0.6357, allocations: 1.099 MB / 0.7783 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.6358, allocations: 8.031 kB / 0.7783 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001024/0.6359, allocations: 98.52 kB / 0.7784 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.6372, allocations: 202.9 kB / 0.7786 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008561/0.638, allocations: 0.5801 MB / 0.7791 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.6381, allocations: 37.31 kB / 0.7792 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.046e-05/0.6382, allocations: 60 kB / 0.7792 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000904/0.6391, allocations: 0.6167 MB / 0.7798 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.6391, allocations: 4 kB / 0.7798 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.197e-05/0.6392, allocations: 31.94 kB / 0.7799 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/0.6392, allocations: 17.31 kB / 0.7799 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007448/0.64, allocations: 493 kB / 0.7803 GB, free: 5.641 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.002651/0.6426, allocations: 2.408 MB / 0.7827 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005064/0.6431, allocations: 350.9 kB / 0.783 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002727/0.6434, allocations: 214.3 kB / 0.7832 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005459/0.644, allocations: 315.2 kB / 0.7835 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.644, allocations: 38.5 kB / 0.7836 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 2.424e-06/0.644, allocations: 0 / 0.7836 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36): time 0.001128/0.6452, allocations: 0.5487 MB / 0.7841 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.6452, allocations: 55.41 kB / 0.7842 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/0.6458, allocations: 0.5028 MB / 0.7847 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.6458, allocations: 33.7 kB / 0.7847 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.6461, allocations: 316.5 kB / 0.785 GB, free: 0.5664 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.6462, allocations: 134.1 kB / 0.7851 GB, free: 444 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.6464, allocations: 82.12 kB / 0.7852 GB, free: 356 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6465, allocations: 362.8 kB / 0.7855 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.6468, allocations: 150.5 kB / 0.7857 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.6471, allocations: 268.6 kB / 0.7859 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.6477, allocations: 406.9 kB / 0.7863 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.6477, allocations: 7.812 kB / 0.7863 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007546/0.6484, allocations: 484.9 kB / 0.7868 GB, free: 14.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.6485, allocations: 7.938 kB / 0.7868 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.6485, allocations: 4 kB / 0.7868 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.6485, allocations: 7.938 kB / 0.7868 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005859/0.6491, allocations: 102 kB / 0.7869 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000362/0.6495, allocations: 0.5976 MB / 0.7875 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.65, allocations: 47.52 kB / 0.7875 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.666e-05/0.6501, allocations: 16 kB / 0.7876 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005109/0.6506, allocations: 330.3 kB / 0.7879 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003382/0.651, allocations: 264.4 kB / 0.7881 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005337/0.6515, allocations: 408.5 kB / 0.7885 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.6515, allocations: 0 / 0.7885 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0007165/0.6522, allocations: 488.4 kB / 0.789 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.6523, allocations: 4 kB / 0.789 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.6523, allocations: 4 kB / 0.789 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/0.6523, allocations: 4 kB / 0.789 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.6527, allocations: 87.89 kB / 0.7891 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.6527, allocations: 4 kB / 0.7891 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.6532, allocations: 47.89 kB / 0.7891 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.6532, allocations: 16 kB / 0.7891 GB, free: 12.12 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.0001667/0.6534, allocations: 212.1 kB / 0.7893 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.6535, allocations: 55.34 kB / 0.7894 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006998/0.6542, allocations: 443.1 kB / 0.7898 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.6542, allocations: 4 kB / 0.7898 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6542, allocations: 0 / 0.7898 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006001/0.6548, allocations: 0.6534 MB / 0.7905 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00176/0.6566, allocations: 1.203 MB / 0.7916 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.6566, allocations: 5.094 kB / 0.7916 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.6571, allocations: 95.83 kB / 0.7917 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.6571, allocations: 0 / 0.7917 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/0.6572, allocations: 16 kB / 0.7917 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000276/0.6574, allocations: 0.5948 MB / 0.7923 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.6575, allocations: 0 / 0.7923 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008556/0.6583, allocations: 0.7355 MB / 0.793 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.6586, allocations: 180.3 kB / 0.7932 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/0.6586, allocations: 12 kB / 0.7932 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.659, allocations: 15.98 kB / 0.7932 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.6591, allocations: 27.91 kB / 0.7933 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.6591, allocations: 12 kB / 0.7933 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003745/0.6595, allocations: 362.8 kB / 0.7936 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6595, allocations: 0 / 0.7936 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000877/0.6604, allocations: 351.2 kB / 0.794 GB, free: 6.926 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.001451/0.6619, allocations: 1.379 MB / 0.7953 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.6631, allocations: 0.6227 MB / 0.7959 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6631, allocations: 1.125 kB / 0.7959 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.6635, allocations: 193.7 kB / 0.7961 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/0.6651, allocations: 362.7 kB / 0.7965 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006684/0.6718, allocations: 4.969 MB / 0.8013 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000635/0.6725, allocations: 0.9414 MB / 0.8022 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007311/0.6733, allocations: 200.9 kB / 0.8024 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.6736, allocations: 227.4 kB / 0.8026 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of SimCode: time 8.12e-07/0.6736, allocations: 4 kB / 0.8026 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03733/0.711, allocations: 16.95 MB / 0.8192 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.1, allocations: 11.25 kB / 0.8192 GB, free: 13.21 MB / 0.6387 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_MassFraction.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.MassFraction.pipe 2>&1)