Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.005264/0.005264, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001253/0.001253, allocations: 198.2 kB / 16.68 MB, free: 5.934 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8006/0.8006, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 62.52 kB / 0.5809 GB, free: 24.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1381, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.4821/0.6202, allocations: 187.8 MB / 0.8426 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01459/0.6348, allocations: 10.75 MB / 0.8531 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.6359, allocations: 40.69 kB / 0.8532 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.6371, allocations: 499.5 kB / 0.8536 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005468/0.6426, allocations: 2.581 MB / 0.8562 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005141/0.6478, allocations: 2.464 MB / 0.8586 GB, free: 8.676 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00298/0.6508, allocations: 2.771 MB / 0.8613 GB, free: 7.094 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009939/0.6518, allocations: 0.7744 MB / 0.862 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.6532, allocations: 1.004 MB / 0.863 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.655, allocations: 1.058 MB / 0.864 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.6552, allocations: 96 kB / 0.8641 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005274/0.6605, allocations: 3.005 MB / 0.8671 GB, free: 1.188 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/0.661, allocations: 446.8 kB / 0.8675 GB, free: 0.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006263/0.6616, allocations: 0.5794 MB / 0.8681 GB, free: 172 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004264/0.6659, allocations: 2.979 MB / 0.871 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.6659, allocations: 0 / 0.871 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6659, allocations: 0 / 0.871 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.6659, allocations: 0 / 0.871 GB, free: 13.18 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.00336/0.6693, allocations: 1.718 MB / 0.8726 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.6693, allocations: 12.03 kB / 0.8727 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001644/0.6695, allocations: 114.5 kB / 0.8728 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.6713, allocations: 306.9 kB / 0.8731 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.6726, allocations: 0.8319 MB / 0.8739 GB, free: 10.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.61e-05/0.6726, allocations: 53.3 kB / 0.8739 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.6728, allocations: 67.98 kB / 0.874 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.6744, allocations: 0.9922 MB / 0.875 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.6744, allocations: 0 / 0.875 GB, free: 8.965 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.458e-05/0.6745, allocations: 31.91 kB / 0.875 GB, free: 8.934 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/0.6746, allocations: 77.95 kB / 0.8751 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.6763, allocations: 1.007 MB / 0.876 GB, free: 7.848 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.005783/0.6821, allocations: 3.583 MB / 0.8795 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.6831, allocations: 0.6507 MB / 0.8802 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.6837, allocations: 374.4 kB / 0.8805 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002725/0.684, allocations: 202.7 kB / 0.8807 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/0.684, allocations: 39.12 kB / 0.8808 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=62): time 1.893e-06/0.684, allocations: 0 / 0.8808 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=62): time 0.00191/0.686, allocations: 1.03 MB / 0.8818 GB, free: 1.691 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.686, allocations: 111.4 kB / 0.8819 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009803/0.687, allocations: 0.7981 MB / 0.8827 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.6871, allocations: 41.7 kB / 0.8827 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003467/0.6874, allocations: 424.8 kB / 0.8831 GB, free: 292 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.6876, allocations: 234 kB / 0.8833 GB, free: 56 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.6879, allocations: 150.6 kB / 0.8835 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6881, allocations: 337.9 kB / 0.8838 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005602/0.6886, allocations: 336.7 kB / 0.8841 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006939/0.6893, allocations: 473.5 kB / 0.8846 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.6905, allocations: 0.7704 MB / 0.8853 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6906, allocations: 0 / 0.8853 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001517/0.6921, allocations: 0.9339 MB / 0.8862 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.6921, allocations: 8 kB / 0.8862 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.6921, allocations: 0 / 0.8862 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.6921, allocations: 11.94 kB / 0.8862 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006801/0.6928, allocations: 148.9 kB / 0.8864 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.6929, allocations: 4 kB / 0.8864 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/0.6936, allocations: 91.66 kB / 0.8865 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-05/0.6936, allocations: 24 kB / 0.8865 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008029/0.6944, allocations: 0.537 MB / 0.887 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000641/0.6951, allocations: 455.3 kB / 0.8875 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001108/0.6962, allocations: 0.7408 MB / 0.8882 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.6962, allocations: 3.938 kB / 0.8882 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001448/0.6977, allocations: 0.8911 MB / 0.8891 GB, free: 10 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.6977, allocations: 8 kB / 0.8891 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.6977, allocations: 7.984 kB / 0.8891 GB, free: 9.984 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/0.6977, allocations: 4 kB / 0.8891 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006324/0.6983, allocations: 144.4 kB / 0.8892 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.6984, allocations: 7.938 kB / 0.8892 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006568/0.699, allocations: 75.34 kB / 0.8893 GB, free: 9.762 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/0.6991, allocations: 28 kB / 0.8893 GB, free: 9.734 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0002008/0.6993, allocations: 221.4 kB / 0.8895 GB, free: 9.512 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.6995, allocations: 99.39 kB / 0.8896 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.7008, allocations: 0.8047 MB / 0.8904 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.7009, allocations: 8 kB / 0.8904 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7009, allocations: 0 / 0.8904 GB, free: 8.598 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/0.7019, allocations: 0.7361 MB / 0.8911 GB, free: 7.828 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.705, allocations: 2.101 MB / 0.8932 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.705, allocations: 4 kB / 0.8932 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006415/0.7057, allocations: 135.8 kB / 0.8933 GB, free: 5.488 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.7057, allocations: 4 kB / 0.8933 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.573e-05/0.7057, allocations: 16 kB / 0.8933 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.7057, allocations: 8 kB / 0.8934 GB, free: 5.461 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.7057, allocations: 7.938 kB / 0.8934 GB, free: 5.453 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001919/0.7077, allocations: 1.403 MB / 0.8947 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003445/0.708, allocations: 260.3 kB / 0.895 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.7081, allocations: 16 kB / 0.895 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005146/0.7087, allocations: 23.98 kB / 0.895 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.871e-05/0.7088, allocations: 44.27 kB / 0.8951 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.7088, allocations: 31.98 kB / 0.8951 GB, free: 3.605 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007064/0.7095, allocations: 0.5537 MB / 0.8956 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7095, allocations: 0 / 0.8956 GB, free: 3.055 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001588/0.7111, allocations: 0.7558 MB / 0.8964 GB, free: 2.297 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.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 (64): * Single equations (assignments): 64 * 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.003375/0.7145, allocations: 2.398 MB / 0.8987 GB, free: 15.84 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001952/0.7165, allocations: 1.187 MB / 0.8999 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7165, allocations: 0 / 0.8999 GB, free: 14.66 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.717, allocations: 370.1 kB / 0.9002 GB, free: 14.29 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.7194, allocations: 0.5405 MB / 0.9007 GB, free: 13.78 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.7302, allocations: 7.894 MB / 0.9085 GB, free: 5.613 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007466/0.731, allocations: 1.077 MB / 0.9095 GB, free: 4.504 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001169/0.7322, allocations: 421.6 kB / 0.9099 GB, free: 4.09 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005156/0.7327, allocations: 331.3 kB / 0.9102 GB, free: 3.766 MB / 0.67 GB Notification: Performance of SimCode: time 7.91e-07/0.7327, allocations: 0 / 0.9102 GB, free: 3.766 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06199/0.7947, allocations: 31.42 MB / 0.9409 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.51, allocations: 3.984 kB / 0.9409 GB, free: 4.641 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization_res.csv --start-time 0 --stop-time 0.001 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-07 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)