Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",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.00116/0.00116, 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.001203/0.001203, allocations: 194 kB / 16.53 MB, free: 6.391 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9503/0.9503, allocations: 135.1 MB / 425.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 69.16 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1487, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4913/0.64, allocations: 242.4 MB / 0.8212 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02355/0.6636, allocations: 15.89 MB / 0.8367 GB, free: 10.36 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.6665, allocations: 75.56 kB / 0.8368 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.6697, allocations: 1.177 MB / 0.8379 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009471/0.6792, allocations: 3.819 MB / 0.8416 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004492/0.6837, allocations: 1.803 MB / 0.8434 GB, free: 3.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006191/0.6899, allocations: 5.232 MB / 0.8485 GB, free: 14.24 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.6927, allocations: 1.664 MB / 0.8501 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005608/0.6984, allocations: 2.608 MB / 0.8527 GB, free: 9.93 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003316/0.7017, allocations: 1.702 MB / 0.8543 GB, free: 8.234 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0005401/0.7023, allocations: 176 kB / 0.8545 GB, free: 8.062 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005551/0.7078, allocations: 2.709 MB / 0.8571 GB, free: 5.348 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.7089, allocations: 0.7596 MB / 0.8579 GB, free: 4.586 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.7111, allocations: 1.151 MB / 0.859 GB, free: 3.43 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.3501/1.061, allocations: 3.52 MB / 0.8625 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.061, allocations: 0 / 0.8625 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.433e-06/1.061, allocations: 1.375 kB / 0.8625 GB, free: 14.81 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001055/1.061, allocations: 0.5625 kB / 0.8625 GB, free: 14.81 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.003977/1.065, allocations: 2.498 MB / 0.8649 GB, free: 13.88 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/1.065, allocations: 9.812 kB / 0.8649 GB, free: 13.88 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002186/1.066, allocations: 217.9 kB / 0.8651 GB, free: 13.83 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00279/1.068, allocations: 0.5064 MB / 0.8656 GB, free: 13.72 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/1.07, allocations: 1.269 MB / 0.8668 GB, free: 13.27 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000124/1.07, allocations: 178.1 kB / 0.867 GB, free: 13.21 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/1.071, allocations: 153 kB / 0.8672 GB, free: 13.21 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/1.073, allocations: 1.74 MB / 0.8689 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/1.073, allocations: 6.281 kB / 0.8689 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/1.073, allocations: 61.16 kB / 0.8689 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.895e-05/1.073, allocations: 63.56 kB / 0.869 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002203/1.075, allocations: 1.375 MB / 0.8703 GB, free: 12.96 MB / 0.67 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.007403/1.083, allocations: 8.229 MB / 0.8784 GB, free: 8.172 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/1.084, allocations: 0.9066 MB / 0.8792 GB, free: 8.137 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007668/1.085, allocations: 0.5321 MB / 0.8798 GB, free: 8.129 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005308/1.086, allocations: 326.1 kB / 0.8801 GB, free: 7.844 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/1.086, allocations: 43.59 kB / 0.8801 GB, free: 7.805 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 3.356e-06/1.086, allocations: 1 kB / 0.8801 GB, free: 7.805 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.006388/1.092, allocations: 3.109 MB / 0.8832 GB, free: 7.188 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/1.092, allocations: 62.62 kB / 0.8832 GB, free: 7.125 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/1.094, allocations: 1.266 MB / 0.8845 GB, free: 6.957 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.573e-05/1.094, allocations: 46.14 kB / 0.8845 GB, free: 6.926 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004839/1.094, allocations: 0.818 MB / 0.8853 GB, free: 6.605 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/1.095, allocations: 365.6 kB / 0.8856 GB, free: 6.375 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/1.095, allocations: 231.7 kB / 0.8859 GB, free: 6.348 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002989/1.095, allocations: 358.9 kB / 0.8862 GB, free: 22.04 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007903/1.096, allocations: 442.7 kB / 0.8866 GB, free: 22.02 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001137/1.097, allocations: 0.8281 MB / 0.8874 GB, free: 21.58 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002116/1.099, allocations: 1.245 MB / 0.8887 GB, free: 21.25 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.099, allocations: 5.594 kB / 0.8887 GB, free: 21.25 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002683/1.102, allocations: 1.406 MB / 0.89 GB, free: 21.14 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/1.102, allocations: 12.22 kB / 0.89 GB, free: 21.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/1.102, allocations: 8.5 kB / 0.8901 GB, free: 21.14 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/1.102, allocations: 18.62 kB / 0.8901 GB, free: 21.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.103, allocations: 279.1 kB / 0.8903 GB, free: 21.14 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/1.103, allocations: 18.16 kB / 0.8904 GB, free: 21.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.105, allocations: 71.77 kB / 0.8904 GB, free: 21.14 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-05/1.105, allocations: 54.23 kB / 0.8905 GB, free: 21.13 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001338/1.106, allocations: 0.7689 MB / 0.8912 GB, free: 21.05 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009669/1.107, allocations: 0.8264 MB / 0.892 GB, free: 20.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001778/1.109, allocations: 1.234 MB / 0.8932 GB, free: 20.27 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.632e-06/1.109, allocations: 2.188 kB / 0.8932 GB, free: 20.27 MB / 0.6856 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002388/1.111, allocations: 1.384 MB / 0.8946 GB, free: 20.15 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/1.111, allocations: 9.125 kB / 0.8946 GB, free: 20.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.111, allocations: 10.09 kB / 0.8946 GB, free: 20.15 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.111, allocations: 17.64 kB / 0.8946 GB, free: 20.15 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.113, allocations: 274.5 kB / 0.8949 GB, free: 20.15 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/1.113, allocations: 20.31 kB / 0.8949 GB, free: 20.15 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/1.114, allocations: 75.58 kB / 0.895 GB, free: 20.15 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/1.114, allocations: 51.69 kB / 0.895 GB, free: 20.15 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000338/1.114, allocations: 270.2 kB / 0.8953 GB, free: 19.96 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/1.115, allocations: 166 kB / 0.8954 GB, free: 19.88 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/1.117, allocations: 1.151 MB / 0.8966 GB, free: 19.79 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/1.117, allocations: 12.94 kB / 0.8966 GB, free: 19.79 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.117, allocations: 1.75 kB / 0.8966 GB, free: 19.79 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001683/1.118, allocations: 1.069 MB / 0.8976 GB, free: 19.52 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005095/1.124, allocations: 2.783 MB / 0.9003 GB, free: 19.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.124, allocations: 2.078 kB / 0.9003 GB, free: 19.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.125, allocations: 247.6 kB / 0.9006 GB, free: 19.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/1.125, allocations: 6.469 kB / 0.9006 GB, free: 19.12 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/1.125, allocations: 29.36 kB / 0.9006 GB, free: 19.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.013e-05/1.125, allocations: 5.906 kB / 0.9006 GB, free: 19.12 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.125, allocations: 6.797 kB / 0.9006 GB, free: 19.12 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003133/1.128, allocations: 1.814 MB / 0.9024 GB, free: 18.8 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006683/1.129, allocations: 335.6 kB / 0.9027 GB, free: 18.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002037/1.129, allocations: 23.7 kB / 0.9027 GB, free: 18.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.13, allocations: 65.09 kB / 0.9028 GB, free: 18.62 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/1.13, allocations: 62.47 kB / 0.9029 GB, free: 18.62 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.08e-05/1.13, allocations: 42.08 kB / 0.9029 GB, free: 18.61 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001179/1.132, allocations: 0.8486 MB / 0.9037 GB, free: 18.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/1.132, allocations: 0 / 0.9037 GB, free: 18.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002049/1.134, allocations: 0.7604 MB / 0.9045 GB, free: 18.5 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[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 (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003464/1.137, allocations: 2.525 MB / 0.9069 GB, free: 17.65 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003651/1.141, allocations: 1.996 MB / 0.9089 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.141, allocations: 1.125 kB / 0.9089 GB, free: 17.62 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0007767/1.142, allocations: 0.5233 MB / 0.9094 GB, free: 17.61 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/1.146, allocations: 0.9216 MB / 0.9103 GB, free: 17.52 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/1.162, allocations: 13.06 MB / 0.9231 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008983/1.163, allocations: 1.448 MB / 0.9245 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002113/1.165, allocations: 0.5521 MB / 0.925 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007905/1.166, allocations: 0.6797 MB / 0.9257 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of SimCode: time 1.783e-06/1.166, allocations: 0 / 0.9257 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07456/1.241, allocations: 44.69 MB / 0.9693 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.388/9.628, allocations: 8.531 kB / 0.9693 GB, free: 11.98 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)