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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00241/0.00241, allocations: 209.9 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.825/0.825, allocations: 134 MB / 446.4 MB, free: 9.914 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 70.42 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1687, allocations: 85.91 MB / 0.7024 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5598/0.7285, allocations: 168.4 MB / 0.8668 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.009845/0.7384, allocations: 5.386 MB / 0.8721 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.7397, allocations: 59.44 kB / 0.8721 GB, free: 5.285 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.7414, allocations: 0.5552 MB / 0.8727 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00478/0.7461, allocations: 1.902 MB / 0.8745 GB, free: 2.816 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00307/0.7492, allocations: 1.198 MB / 0.8757 GB, free: 1.629 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004075/0.7533, allocations: 3.012 MB / 0.8786 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.7547, allocations: 0.8126 MB / 0.8794 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.7569, allocations: 1.137 MB / 0.8805 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002348/0.7593, allocations: 1.002 MB / 0.8815 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003832/0.7596, allocations: 124 kB / 0.8816 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.7626, allocations: 1.212 MB / 0.8828 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009058/0.7635, allocations: 0.5804 MB / 0.8834 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.7647, allocations: 0.6147 MB / 0.884 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003592/0.7683, allocations: 2.313 MB / 0.8863 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7683, allocations: 0 / 0.8863 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7683, allocations: 0 / 0.8863 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.872e-05/0.7683, allocations: 0 / 0.8863 GB, free: 6.789 MB / 0.6544 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.00286/0.7712, allocations: 1.594 MB / 0.8878 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.7712, allocations: 8.031 kB / 0.8878 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001955/0.7714, allocations: 160.2 kB / 0.888 GB, free: 4.988 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.7733, allocations: 326.9 kB / 0.8883 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.775, allocations: 0.8422 MB / 0.8891 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/0.7751, allocations: 77.94 kB / 0.8892 GB, free: 3.719 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.7752, allocations: 104 kB / 0.8893 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002084/0.7773, allocations: 1.533 MB / 0.8908 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.7773, allocations: 3.984 kB / 0.8908 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.7774, allocations: 51.98 kB / 0.8908 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/0.7775, allocations: 37.98 kB / 0.8909 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.7792, allocations: 0.9837 MB / 0.8918 GB, free: 0.8906 MB / 0.6544 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.005925/0.7851, allocations: 2.899 MB / 0.8947 GB, free: 13.93 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009447/0.7861, allocations: 0.5514 MB / 0.8952 GB, free: 13.38 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005072/0.7866, allocations: 318.5 kB / 0.8955 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.7868, allocations: 40.36 kB / 0.8955 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.7868, allocations: 39 kB / 0.8956 GB, free: 12.98 MB / 0.67 GB Notification: Performance of pre-optimization done (n=53): time 2.595e-06/0.7868, allocations: 0 / 0.8956 GB, free: 12.98 MB / 0.67 GB Notification: Performance of matching and sorting (n=55): time 0.004031/0.7908, allocations: 1.904 MB / 0.8974 GB, free: 11.03 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/0.7909, allocations: 59.91 kB / 0.8975 GB, free: 10.96 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.792, allocations: 0.8998 MB / 0.8984 GB, free: 10.05 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.7921, allocations: 41.69 kB / 0.8984 GB, free: 10 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/0.7925, allocations: 0.5235 MB / 0.8989 GB, free: 9.473 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.7927, allocations: 202.3 kB / 0.8991 GB, free: 9.273 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.7929, allocations: 138.6 kB / 0.8992 GB, free: 9.129 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.7931, allocations: 334 kB / 0.8996 GB, free: 8.797 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/0.7936, allocations: 281.8 kB / 0.8998 GB, free: 8.523 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006822/0.7943, allocations: 0.5405 MB / 0.9004 GB, free: 7.902 MB / 0.67 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.003927/0.7982, allocations: 1.658 MB / 0.902 GB, free: 6.191 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.7982, allocations: 4 kB / 0.902 GB, free: 6.188 MB / 0.67 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001632/0.7998, allocations: 0.9322 MB / 0.9029 GB, free: 5.238 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.7998, allocations: 12.48 kB / 0.9029 GB, free: 5.227 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.7998, allocations: 8 kB / 0.9029 GB, free: 5.219 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002106/0.8001, allocations: 90.53 kB / 0.903 GB, free: 5.121 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007104/0.8008, allocations: 167.7 kB / 0.9032 GB, free: 4.957 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003766/0.8045, allocations: 4.309 MB / 0.9074 GB, free: 316 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009284/0.8055, allocations: 42.61 kB / 0.9074 GB, free: 276 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/0.8055, allocations: 28 kB / 0.9074 GB, free: 248 kB / 0.67 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.000568/0.8061, allocations: 353.7 kB / 0.9078 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.8063, allocations: 99.39 kB / 0.9079 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.8065, allocations: 117.1 kB / 0.908 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.8065, allocations: 8 kB / 0.908 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.8065, allocations: 0 / 0.908 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/0.8076, allocations: 0.7638 MB / 0.9087 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/0.8108, allocations: 1.8 MB / 0.9105 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.8108, allocations: 4 kB / 0.9105 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/0.8115, allocations: 156.2 kB / 0.9106 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/0.8116, allocations: 40.83 kB / 0.9107 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.8116, allocations: 12 kB / 0.9107 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.813, allocations: 1.494 MB / 0.9122 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.813, allocations: 4 kB / 0.9122 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001834/0.8148, allocations: 1.242 MB / 0.9134 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005193/0.8153, allocations: 187.5 kB / 0.9135 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.8154, allocations: 16 kB / 0.9136 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/0.8161, allocations: 39 kB / 0.9136 GB, free: 9.598 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.8163, allocations: 55.84 kB / 0.9137 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/0.8163, allocations: 27.98 kB / 0.9137 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008396/0.8172, allocations: 0.6122 MB / 0.9143 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8172, allocations: 4 kB / 0.9143 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009125/0.8181, allocations: 307.9 kB / 0.9146 GB, free: 8.602 MB / 0.6856 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.002349/0.8204, allocations: 1.848 MB / 0.9164 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00162/0.822, allocations: 0.9842 MB / 0.9173 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.822, allocations: 8 kB / 0.9173 GB, free: 5.66 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0006632/0.8227, allocations: 430 kB / 0.9178 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/0.8254, allocations: 0.6492 MB / 0.9184 GB, free: 4.605 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.8368, allocations: 7.955 MB / 0.9262 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/0.8375, allocations: 0.5859 MB / 0.9267 GB, free: 11.71 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009981/0.8385, allocations: 256.4 kB / 0.927 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005686/0.8391, allocations: 383.3 kB / 0.9273 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of SimCode: time 1.503e-06/0.8391, allocations: 0 / 0.9273 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08128/0.9203, allocations: 33.65 MB / 0.9602 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.56, allocations: 7.922 kB / 0.9602 GB, free: 10.02 MB / 0.7325 GB " [Timeout remaining time 645] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.226288518868387] Failed to read output from testmodel.py, exit status != 0: 14.701089330017567 14.73464874 13.960228617 Calling exit ...