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.00111/0.00111, allocations: 108 kB / 15.6 MB, free: 132 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.001101/0.001101, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.349/1.349, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.759/0.759, allocations: 132.2 MB / 422.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 65.12 kB / 0.5019 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3664, allocations: 80.19 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2178/0.5843, allocations: 190.5 MB / 0.7662 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009063/0.5934, allocations: 5.704 MB / 0.7717 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001282/0.5947, allocations: 43.75 kB / 0.7718 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/0.5965, allocations: 0.5669 MB / 0.7723 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004874/0.6014, allocations: 1.824 MB / 0.7741 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003299/0.6047, allocations: 1.165 MB / 0.7753 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00394/0.6087, allocations: 2.94 MB / 0.7781 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.6103, allocations: 1.128 MB / 0.7792 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002124/0.6125, allocations: 1.055 MB / 0.7803 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00205/0.6145, allocations: 0.955 MB / 0.7812 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000352/0.6149, allocations: 124 kB / 0.7813 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002974/0.6179, allocations: 1.45 MB / 0.7827 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007137/0.6186, allocations: 0.565 MB / 0.7833 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.6198, allocations: 0.7311 MB / 0.784 GB, free: 64 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.6232, allocations: 2.322 MB / 0.7863 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.6232, allocations: 0 / 0.7863 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.353e-06/0.6232, allocations: 0 / 0.7863 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.966e-05/0.6233, allocations: 0 / 0.7863 GB, free: 13.73 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.003043/0.6263, allocations: 1.616 MB / 0.7878 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.6264, allocations: 8.031 kB / 0.7879 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002407/0.6266, allocations: 164.1 kB / 0.788 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002141/0.6288, allocations: 330.2 kB / 0.7883 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.6302, allocations: 0.8707 MB / 0.7892 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.6303, allocations: 85.92 kB / 0.7893 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.6304, allocations: 92 kB / 0.7893 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001883/0.6323, allocations: 1.089 MB / 0.7904 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.6324, allocations: 0 / 0.7904 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.6325, allocations: 40 kB / 0.7904 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/0.6325, allocations: 38 kB / 0.7905 GB, free: 9.301 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.6342, allocations: 0.9993 MB / 0.7915 GB, free: 8.301 MB / 0.6231 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.006309/0.6406, allocations: 4.252 MB / 0.7956 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009017/0.6415, allocations: 0.6074 MB / 0.7962 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000513/0.642, allocations: 342.5 kB / 0.7965 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002146/0.6422, allocations: 105.5 kB / 0.7966 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.6423, allocations: 43 kB / 0.7967 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=53): time 4.058e-06/0.6423, allocations: 3.984 kB / 0.7967 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of matching and sorting (n=55): time 0.004349/0.6467, allocations: 2.193 MB / 0.7988 GB, free: 324 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.6467, allocations: 63.91 kB / 0.7989 GB, free: 248 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.6479, allocations: 0.8881 MB / 0.7997 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.431e-05/0.648, allocations: 41.7 kB / 0.7998 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.6483, allocations: 0.5146 MB / 0.8003 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.6485, allocations: 197.1 kB / 0.8005 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.6488, allocations: 138.5 kB / 0.8006 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6489, allocations: 330 kB / 0.8009 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.6494, allocations: 281.8 kB / 0.8012 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/0.65, allocations: 448.9 kB / 0.8016 GB, free: 13.34 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.004257/0.6543, allocations: 1.737 MB / 0.8033 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.6543, allocations: 0 / 0.8033 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001744/0.6561, allocations: 0.9256 MB / 0.8042 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.6561, allocations: 8 kB / 0.8042 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.6561, allocations: 4.5 kB / 0.8042 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002277/0.6564, allocations: 98.52 kB / 0.8043 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000745/0.6571, allocations: 163.7 kB / 0.8045 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003616/0.6607, allocations: 4.636 MB / 0.809 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009768/0.6617, allocations: 39.5 kB / 0.809 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-05/0.6618, allocations: 31.94 kB / 0.8091 GB, free: 5.188 MB / 0.6387 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.0005346/0.6624, allocations: 345.5 kB / 0.8094 GB, free: 4.844 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.6626, allocations: 98.88 kB / 0.8095 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000226/0.6628, allocations: 113.2 kB / 0.8096 GB, free: 4.637 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.6629, allocations: 8 kB / 0.8096 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.6629, allocations: 3.938 kB / 0.8096 GB, free: 4.625 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00114/0.664, allocations: 0.7652 MB / 0.8104 GB, free: 3.809 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/0.6679, allocations: 1.976 MB / 0.8123 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.273e-06/0.6679, allocations: 4 kB / 0.8123 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007111/0.6686, allocations: 147.8 kB / 0.8124 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.6687, allocations: 40.83 kB / 0.8125 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/0.6688, allocations: 12 kB / 0.8125 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2431/0.9119, allocations: 1.608 MB / 0.8141 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.912, allocations: 7.828 kB / 0.8141 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.9143, allocations: 1.236 MB / 0.8153 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004964/0.9148, allocations: 259.6 kB / 0.8155 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.9149, allocations: 20.19 kB / 0.8155 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.9157, allocations: 32.47 kB / 0.8156 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.9159, allocations: 46.12 kB / 0.8156 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.369e-05/0.9159, allocations: 29.16 kB / 0.8156 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009027/0.9168, allocations: 0.6131 MB / 0.8162 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9169, allocations: 3.969 kB / 0.8162 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001279/0.9181, allocations: 306.2 kB / 0.8165 GB, free: 217.6 MB / 0.6387 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.002728/0.9209, allocations: 1.866 MB / 0.8184 GB, free: 216.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001986/0.9229, allocations: 1.109 MB / 0.8194 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.9229, allocations: 1.281 kB / 0.8194 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006627/0.9236, allocations: 454.3 kB / 0.8199 GB, free: 215.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/0.9269, allocations: 0.6508 MB / 0.8205 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.9393, allocations: 8.288 MB / 0.8286 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008525/0.9402, allocations: 1.168 MB / 0.8297 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001272/0.9415, allocations: 245.6 kB / 0.83 GB, free: 210.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004999/0.942, allocations: 384.5 kB / 0.8304 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of SimCode: time 1.613e-06/0.942, allocations: 0 / 0.8304 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0545/0.9965, allocations: 30.31 MB / 0.8599 GB, free: 189.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.24, allocations: 11.88 kB / 0.86 GB, free: 189.5 MB / 0.6387 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)