Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumeInitialization,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="IDEAS_dev_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.005019/0.005019, allocations: 96.56 kB / 15.73 MB, free: 5.996 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.00122/0.00122, allocations: 186 kB / 16.67 MB, free: 5.926 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.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9219/0.9219, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 63.89 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3638, allocations: 80.92 MB / 0.6642 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.1877/0.5516, allocations: 187.9 MB / 0.8476 GB, free: 5.219 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01384/0.5655, allocations: 10.76 MB / 0.8581 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.5667, allocations: 39.75 kB / 0.8582 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.5681, allocations: 0.4932 MB / 0.8586 GB, free: 9.891 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.005914/0.5741, allocations: 2.661 MB / 0.8612 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005523/0.5796, allocations: 2.462 MB / 0.8636 GB, free: 4.762 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003166/0.5828, allocations: 2.771 MB / 0.8663 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.5839, allocations: 0.7839 MB / 0.8671 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.5857, allocations: 1.031 MB / 0.8681 GB, free: 152 kB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3648/0.9505, allocations: 1.049 MB / 0.8691 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002868/0.9508, allocations: 97.28 kB / 0.8692 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005868/0.9567, allocations: 3.014 MB / 0.8722 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005661/0.9573, allocations: 437 kB / 0.8726 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008933/0.9582, allocations: 0.5883 MB / 0.8732 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005113/0.9633, allocations: 2.973 MB / 0.8761 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.9633, allocations: 0 / 0.8761 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9633, allocations: 1.812 kB / 0.8761 GB, free: 5.633 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.9634, allocations: 0.9688 kB / 0.8761 GB, free: 5.633 MB / 0.6856 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.003802/0.9672, allocations: 1.72 MB / 0.8778 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.9672, allocations: 10 kB / 0.8778 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001621/0.9674, allocations: 117.3 kB / 0.8779 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001953/0.9694, allocations: 296.7 kB / 0.8782 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.9708, allocations: 0.8431 MB / 0.879 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/0.9709, allocations: 53.42 kB / 0.879 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.9711, allocations: 63.84 kB / 0.8791 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.9728, allocations: 0.9984 MB / 0.8801 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.9728, allocations: 1.031 kB / 0.8801 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.9729, allocations: 28.28 kB / 0.8801 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.973, allocations: 72.55 kB / 0.8802 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.9746, allocations: 1.008 MB / 0.8811 GB, free: 4.184 MB / 0.6856 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.005706/0.9803, allocations: 3.58 MB / 0.8846 GB, free: 18.86 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.9814, allocations: 0.6555 MB / 0.8853 GB, free: 18.84 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.9819, allocations: 380.8 kB / 0.8856 GB, free: 18.83 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.9822, allocations: 197.2 kB / 0.8858 GB, free: 18.64 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.9822, allocations: 40.03 kB / 0.8859 GB, free: 18.6 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=62): time 2.264e-06/0.9823, allocations: 0.9375 kB / 0.8859 GB, free: 18.6 MB / 0.7012 GB Notification: Performance of matching and sorting (n=62): time 0.001931/0.9842, allocations: 1.027 MB / 0.8869 GB, free: 18.51 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.9843, allocations: 110.2 kB / 0.887 GB, free: 18.39 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009675/0.9852, allocations: 0.8034 MB / 0.8878 GB, free: 18.26 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.396e-05/0.9853, allocations: 36.83 kB / 0.8878 GB, free: 18.23 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.9856, allocations: 440.2 kB / 0.8882 GB, free: 18.04 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.9858, allocations: 227 kB / 0.8884 GB, free: 17.89 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.9861, allocations: 143.8 kB / 0.8886 GB, free: 17.88 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.9862, allocations: 337.2 kB / 0.8889 GB, free: 17.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/0.9868, allocations: 339 kB / 0.8892 GB, free: 17.56 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006885/0.9875, allocations: 474.7 kB / 0.8897 GB, free: 17.46 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.9887, allocations: 0.7719 MB / 0.8904 GB, free: 17.38 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.9887, allocations: 0.9062 kB / 0.8904 GB, free: 17.38 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001535/0.9902, allocations: 0.9338 MB / 0.8913 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.9903, allocations: 5.062 kB / 0.8913 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.9903, allocations: 4.719 kB / 0.8913 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.9903, allocations: 6.312 kB / 0.8914 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/0.991, allocations: 153.1 kB / 0.8915 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.991, allocations: 9.531 kB / 0.8915 GB, free: 17.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008171/0.9918, allocations: 81.77 kB / 0.8916 GB, free: 17.24 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-05/0.9919, allocations: 27.78 kB / 0.8916 GB, free: 17.24 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008056/0.9927, allocations: 0.5373 MB / 0.8921 GB, free: 17.16 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005848/0.9933, allocations: 456.1 kB / 0.8926 GB, free: 17.04 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009752/0.9943, allocations: 0.7321 MB / 0.8933 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.106e-06/0.9943, allocations: 1.906 kB / 0.8933 GB, free: 16.93 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001367/0.9957, allocations: 0.8988 MB / 0.8942 GB, free: 16.83 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.9957, allocations: 6.344 kB / 0.8942 GB, free: 16.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.9957, allocations: 3.344 kB / 0.8942 GB, free: 16.83 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.9957, allocations: 6.719 kB / 0.8942 GB, free: 16.83 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006582/0.9964, allocations: 150.2 kB / 0.8943 GB, free: 16.83 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.9964, allocations: 9.344 kB / 0.8943 GB, free: 16.83 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/0.9972, allocations: 61.72 kB / 0.8944 GB, free: 16.81 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/0.9973, allocations: 30.62 kB / 0.8944 GB, free: 16.81 MB / 0.7012 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.0002095/0.9975, allocations: 222.9 kB / 0.8946 GB, free: 16.62 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.9976, allocations: 98.14 kB / 0.8947 GB, free: 16.57 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.9989, allocations: 0.8015 MB / 0.8955 GB, free: 16.52 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.999, allocations: 14.94 kB / 0.8955 GB, free: 16.52 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.999, allocations: 4.922 kB / 0.8955 GB, free: 16.52 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008812/0.9999, allocations: 0.7401 MB / 0.8963 GB, free: 16.35 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002691/1.003, allocations: 2.098 MB / 0.8983 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/1.003, allocations: 5.25 kB / 0.8983 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/1.003, allocations: 134.3 kB / 0.8984 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/1.003, allocations: 7.906 kB / 0.8984 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/1.003, allocations: 19.44 kB / 0.8985 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/1.003, allocations: 9.781 kB / 0.8985 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.003, allocations: 6.594 kB / 0.8985 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/1.005, allocations: 1.398 MB / 0.8998 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/1.005, allocations: 258.7 kB / 0.9001 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.005, allocations: 18.02 kB / 0.9001 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005734/1.006, allocations: 22.16 kB / 0.9001 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/1.006, allocations: 51.16 kB / 0.9002 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/1.006, allocations: 20.09 kB / 0.9002 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005826/1.007, allocations: 0.5602 MB / 0.9007 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7.92e-07/1.007, allocations: 0.9375 kB / 0.9007 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001821/1.009, allocations: 0.7663 MB / 0.9015 GB, free: 15.2 MB / 0.7012 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.00291/1.012, allocations: 2.393 MB / 0.9038 GB, free: 14.26 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001614/1.013, allocations: 1.187 MB / 0.905 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.013, allocations: 1.062 kB / 0.905 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0004251/1.014, allocations: 372.1 kB / 0.9053 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/1.016, allocations: 0.534 MB / 0.9059 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008805/1.025, allocations: 7.886 MB / 0.9136 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005821/1.025, allocations: 1.078 MB / 0.9146 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001134/1.026, allocations: 419.3 kB / 0.915 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/1.027, allocations: 334.8 kB / 0.9153 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of SimCode: time 1.603e-06/1.027, allocations: 0 / 0.9153 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05451/1.081, allocations: 31.41 MB / 0.946 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/11.27, allocations: 10.42 kB / 0.946 GB, free: 13.28 MB / 0.7169 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)