Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.004902/0.004902, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001132/0.001132, allocations: 192.9 kB / 16.67 MB, free: 5.949 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8777/0.8777, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 59.91 kB / 0.5851 GB, free: 3.871 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3945, allocations: 80.93 MB / 0.6642 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.1868/0.5813, allocations: 190.5 MB / 0.8502 GB, free: 2.492 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.008816/0.5901, allocations: 5.691 MB / 0.8557 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.5913, allocations: 43.75 kB / 0.8558 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.5929, allocations: 0.5903 MB / 0.8563 GB, free: 12.15 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004089/0.597, allocations: 1.894 MB / 0.8582 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.5997, allocations: 1.181 MB / 0.8594 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003208/0.6029, allocations: 2.963 MB / 0.8622 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001229/0.6041, allocations: 1.128 MB / 0.8633 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.6056, allocations: 1.117 MB / 0.8644 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.6071, allocations: 0.9659 MB / 0.8654 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.6073, allocations: 124 kB / 0.8655 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.6098, allocations: 1.446 MB / 0.8669 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004944/0.6103, allocations: 0.5689 MB / 0.8675 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006885/0.611, allocations: 0.7234 MB / 0.8682 GB, free: 0 / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004778/0.9933, allocations: 2.341 MB / 0.8705 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.9934, allocations: 0.7812 kB / 0.8705 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9934, allocations: 0.5938 kB / 0.8705 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.12e-05/0.9934, allocations: 0 / 0.8705 GB, free: 7.027 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002943/0.9963, allocations: 1.67 MB / 0.8721 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.9964, allocations: 10.44 kB / 0.8721 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.9966, allocations: 157.9 kB / 0.8723 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.9987, allocations: 330 kB / 0.8726 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001622/1, allocations: 0.9267 MB / 0.8735 GB, free: 5.734 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-05/1, allocations: 71.59 kB / 0.8735 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/1.001, allocations: 97.53 kB / 0.8736 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/1.003, allocations: 1.08 MB / 0.8747 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/1.003, allocations: 0.9375 kB / 0.8747 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/1.003, allocations: 46.47 kB / 0.8747 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/1.003, allocations: 42.11 kB / 0.8748 GB, free: 5.672 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001765/1.005, allocations: 0.9888 MB / 0.8757 GB, free: 5.664 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.006361/1.011, allocations: 4.221 MB / 0.8799 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/1.012, allocations: 0.596 MB / 0.8804 GB, free: 3.922 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006078/1.013, allocations: 338.1 kB / 0.8808 GB, free: 3.914 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/1.013, allocations: 110.3 kB / 0.8809 GB, free: 3.82 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/1.013, allocations: 44.91 kB / 0.8809 GB, free: 19.78 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 3.426e-06/1.013, allocations: 1.062 kB / 0.8809 GB, free: 19.78 MB / 0.7012 GB Notification: Performance of matching and sorting (n=55): time 0.004692/1.018, allocations: 2.218 MB / 0.8831 GB, free: 18.97 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.018, allocations: 58.62 kB / 0.8831 GB, free: 18.91 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/1.019, allocations: 0.8804 MB / 0.884 GB, free: 18.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/1.019, allocations: 38.17 kB / 0.884 GB, free: 18.74 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/1.019, allocations: 0.5299 MB / 0.8845 GB, free: 18.5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/1.02, allocations: 203.6 kB / 0.8847 GB, free: 18.37 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/1.02, allocations: 131.2 kB / 0.8849 GB, free: 18.35 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001096/1.02, allocations: 335.5 kB / 0.8852 GB, free: 18.05 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/1.02, allocations: 287.1 kB / 0.8855 GB, free: 18.05 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000633/1.021, allocations: 449.5 kB / 0.8859 GB, free: 17.89 MB / 0.7012 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003966/1.025, allocations: 1.73 MB / 0.8876 GB, free: 17.65 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.025, allocations: 1.531 kB / 0.8876 GB, free: 17.65 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001587/1.027, allocations: 0.9393 MB / 0.8885 GB, free: 17.53 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/1.027, allocations: 11.42 kB / 0.8885 GB, free: 17.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.027, allocations: 4.094 kB / 0.8885 GB, free: 17.53 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002039/1.027, allocations: 92.39 kB / 0.8886 GB, free: 17.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/1.028, allocations: 164.8 kB / 0.8888 GB, free: 17.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/1.031, allocations: 4.64 MB / 0.8933 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001003/1.032, allocations: 33 kB / 0.8933 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.179e-05/1.032, allocations: 29.62 kB / 0.8933 GB, free: 13.47 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005999/1.033, allocations: 351 kB / 0.8937 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/1.033, allocations: 107.2 kB / 0.8938 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/1.033, allocations: 110.1 kB / 0.8939 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/1.033, allocations: 5.188 kB / 0.8939 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/1.033, allocations: 5.656 kB / 0.8939 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/1.034, allocations: 0.7632 MB / 0.8946 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/1.037, allocations: 1.985 MB / 0.8966 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.037, allocations: 4.562 kB / 0.8966 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007067/1.038, allocations: 151.3 kB / 0.8967 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.455e-05/1.038, allocations: 42.16 kB / 0.8968 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/1.038, allocations: 14.75 kB / 0.8968 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/1.039, allocations: 1.608 MB / 0.8984 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.039, allocations: 5.156 kB / 0.8984 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/1.041, allocations: 1.239 MB / 0.8996 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/1.041, allocations: 260.1 kB / 0.8998 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/1.042, allocations: 17.59 kB / 0.8998 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000723/1.042, allocations: 29.53 kB / 0.8999 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.881e-05/1.042, allocations: 46.73 kB / 0.8999 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.403e-05/1.043, allocations: 37.17 kB / 0.8999 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008462/1.043, allocations: 0.6138 MB / 0.9005 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/1.043, allocations: 0.9688 kB / 0.9005 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001117/1.045, allocations: 306.6 kB / 0.9008 GB, free: 10.66 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002129/1.047, allocations: 1.875 MB / 0.9027 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001463/1.048, allocations: 1.015 MB / 0.9037 GB, free: 9.465 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.048, allocations: 3.906 kB / 0.9037 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0005639/1.049, allocations: 449.3 kB / 0.9041 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002753/1.051, allocations: 0.6481 MB / 0.9047 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/1.062, allocations: 7.945 MB / 0.9125 GB, free: 6.805 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/1.062, allocations: 1.172 MB / 0.9136 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009338/1.063, allocations: 249.8 kB / 0.9139 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004772/1.064, allocations: 383.6 kB / 0.9142 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of SimCode: time 7.91e-07/1.064, allocations: 0 / 0.9142 GB, free: 6.062 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06051/1.124, allocations: 30.55 MB / 0.9441 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/13.18, allocations: 14.47 kB / 0.9441 GB, free: 13.35 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)