Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_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.005252/0.005252, allocations: 100.7 kB / 15.73 MB, free: 5.961 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.001487/0.001487, allocations: 195.6 kB / 16.67 MB, free: 5.883 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8074/0.8074, allocations: 132.2 MB / 422.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 68.06 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.133, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4886/0.6216, allocations: 190.5 MB / 0.8452 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008745/0.6304, allocations: 5.69 MB / 0.8508 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006875/0.6311, allocations: 43.09 kB / 0.8508 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.6324, allocations: 0.5676 MB / 0.8514 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.6362, allocations: 1.825 MB / 0.8531 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002555/0.6388, allocations: 1.178 MB / 0.8543 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003337/0.6421, allocations: 2.959 MB / 0.8572 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.6435, allocations: 1.12 MB / 0.8583 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.6451, allocations: 1.057 MB / 0.8593 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.6469, allocations: 0.9651 MB / 0.8602 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.6471, allocations: 128 kB / 0.8604 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002913/0.65, allocations: 1.45 MB / 0.8618 GB, free: 6.699 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006423/0.6507, allocations: 0.5689 MB / 0.8623 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000843/0.6515, allocations: 0.7156 MB / 0.863 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003234/0.6548, allocations: 2.35 MB / 0.8653 GB, free: 3.055 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.6548, allocations: 4 kB / 0.8653 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.266e-06/0.6548, allocations: 0 / 0.8653 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.574e-05/0.6548, allocations: 3.938 kB / 0.8653 GB, free: 3.047 MB / 0.6231 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.002722/0.6575, allocations: 1.661 MB / 0.867 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.6576, allocations: 12.03 kB / 0.867 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000196/0.6578, allocations: 160.1 kB / 0.8671 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.6597, allocations: 330.9 kB / 0.8674 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.6612, allocations: 0.9221 MB / 0.8683 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.6613, allocations: 82.8 kB / 0.8684 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.6614, allocations: 99.94 kB / 0.8685 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001835/0.6632, allocations: 1.077 MB / 0.8696 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.6633, allocations: 0 / 0.8696 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.6634, allocations: 44 kB / 0.8696 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.6634, allocations: 38 kB / 0.8696 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.6652, allocations: 0.9915 MB / 0.8706 GB, free: 13.53 MB / 0.6387 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.005976/0.6711, allocations: 4.219 MB / 0.8747 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009281/0.6721, allocations: 0.5952 MB / 0.8753 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005339/0.6726, allocations: 342.5 kB / 0.8756 GB, free: 8.074 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000192/0.6728, allocations: 109.5 kB / 0.8757 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.6729, allocations: 44.12 kB / 0.8758 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 1.934e-06/0.6729, allocations: 0 / 0.8758 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=55): time 0.003929/0.6768, allocations: 2.218 MB / 0.878 GB, free: 5.562 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.6769, allocations: 59.97 kB / 0.878 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.6779, allocations: 0.8804 MB / 0.8789 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.678, allocations: 37.7 kB / 0.8789 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.6784, allocations: 0.5352 MB / 0.8794 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.6786, allocations: 206.2 kB / 0.8796 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.6789, allocations: 130.6 kB / 0.8798 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.679, allocations: 337.9 kB / 0.8801 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005127/0.6795, allocations: 285.8 kB / 0.8803 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006467/0.6802, allocations: 446.6 kB / 0.8808 GB, free: 2.562 MB / 0.6387 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.004066/0.6843, allocations: 1.741 MB / 0.8825 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6843, allocations: 0 / 0.8825 GB, free: 0.75 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00156/0.6858, allocations: 0.9422 MB / 0.8834 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6859, allocations: 8 kB / 0.8834 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.6859, allocations: 7.938 kB / 0.8834 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.6861, allocations: 90.52 kB / 0.8835 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007185/0.6868, allocations: 159.8 kB / 0.8836 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004007/0.6908, allocations: 4.639 MB / 0.8882 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007375/0.6916, allocations: 38.31 kB / 0.8882 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.6917, allocations: 27.98 kB / 0.8882 GB, free: 10.41 MB / 0.6544 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.0004761/0.6921, allocations: 345.5 kB / 0.8886 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.6923, allocations: 111.3 kB / 0.8887 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002043/0.6925, allocations: 113.2 kB / 0.8888 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6925, allocations: 4 kB / 0.8888 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.6925, allocations: 4 kB / 0.8888 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/0.6937, allocations: 0.7691 MB / 0.8895 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003111/0.6968, allocations: 1.973 MB / 0.8915 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6968, allocations: 8.062 kB / 0.8915 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000692/0.6975, allocations: 147.8 kB / 0.8916 GB, free: 6.781 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-05/0.6976, allocations: 40.83 kB / 0.8917 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.6977, allocations: 16 kB / 0.8917 GB, free: 6.723 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.6991, allocations: 1.614 MB / 0.8933 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.6991, allocations: 0 / 0.8933 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/0.701, allocations: 1.247 MB / 0.8945 GB, free: 3.668 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.7014, allocations: 252.5 kB / 0.8947 GB, free: 3.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.7015, allocations: 19.98 kB / 0.8947 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/0.7022, allocations: 37.89 kB / 0.8948 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.7023, allocations: 43.83 kB / 0.8948 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.969e-05/0.7023, allocations: 35.97 kB / 0.8948 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007996/0.7032, allocations: 0.6161 MB / 0.8954 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7032, allocations: 0 / 0.8954 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008173/0.704, allocations: 300 kB / 0.8957 GB, free: 2.363 MB / 0.6544 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.002474/0.7065, allocations: 1.875 MB / 0.8976 GB, free: 440 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001771/0.7082, allocations: 1.018 MB / 0.8986 GB, free: 15.37 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.7083, allocations: 5 kB / 0.8986 GB, free: 15.37 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006678/0.7089, allocations: 446.3 kB / 0.899 GB, free: 14.92 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002688/0.7116, allocations: 0.6486 MB / 0.8996 GB, free: 14.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01117/0.7228, allocations: 7.944 MB / 0.9074 GB, free: 6.035 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008951/0.7237, allocations: 1.174 MB / 0.9085 GB, free: 4.832 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008664/0.7246, allocations: 252.4 kB / 0.9088 GB, free: 4.582 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.7252, allocations: 379.3 kB / 0.9091 GB, free: 4.211 MB / 0.67 GB Notification: Performance of SimCode: time 6.92e-07/0.7252, allocations: 0 / 0.9091 GB, free: 4.211 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07007/0.7952, allocations: 30.54 MB / 0.9389 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.36, allocations: 18.8 kB / 0.939 GB, free: 6.086 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)