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.005955/0.005955, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001092/0.001092, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8807/0.8807, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 0.5852 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3923, allocations: 80.92 MB / 0.6642 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6108/1.003, allocations: 242.4 MB / 0.9009 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01955/1.023, allocations: 15.89 MB / 0.9164 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004039/1.027, allocations: 75.69 kB / 0.9165 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003114/1.03, allocations: 1.228 MB / 0.9177 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01204/1.042, allocations: 3.95 MB / 0.9215 GB, free: 1.473 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004449/1.046, allocations: 1.83 MB / 0.9233 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006427/1.053, allocations: 5.26 MB / 0.9284 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/1.055, allocations: 1.671 MB / 0.9301 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005581/1.061, allocations: 2.689 MB / 0.9327 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003657/1.065, allocations: 1.703 MB / 0.9344 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004282/1.065, allocations: 176.2 kB / 0.9345 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005921/1.071, allocations: 2.715 MB / 0.9372 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009321/1.072, allocations: 0.7704 MB / 0.9379 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0018/1.074, allocations: 1.147 MB / 0.9391 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006232/1.08, allocations: 3.58 MB / 0.9425 GB, free: 176 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/1.08, allocations: 0 / 0.9425 GB, free: 176 kB / 0.6856 GB Notification: Performance of FrontEnd: time 2.024e-06/1.08, allocations: 1.031 kB / 0.9425 GB, free: 176 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.673e-05/1.08, allocations: 2.781 kB / 0.9426 GB, free: 176 kB / 0.6856 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.004074/1.084, allocations: 2.567 MB / 0.9451 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.084, allocations: 11.12 kB / 0.9451 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002495/1.084, allocations: 217.9 kB / 0.9453 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002902/1.087, allocations: 0.5144 MB / 0.9458 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/1.09, allocations: 1.375 MB / 0.9471 GB, free: 14.27 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/1.09, allocations: 184 kB / 0.9473 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/1.09, allocations: 155.5 kB / 0.9474 GB, free: 14.2 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/1.093, allocations: 1.737 MB / 0.9491 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/1.093, allocations: 2.5 kB / 0.9491 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/1.093, allocations: 60.59 kB / 0.9492 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.781e-05/1.093, allocations: 62.55 kB / 0.9493 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/1.095, allocations: 1.365 MB / 0.9506 GB, free: 13.95 MB / 0.7012 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.009423/1.105, allocations: 8.213 MB / 0.9586 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/1.106, allocations: 0.8976 MB / 0.9595 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007858/1.107, allocations: 0.5346 MB / 0.96 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/1.108, allocations: 323.8 kB / 0.9603 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/1.108, allocations: 51.16 kB / 0.9604 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=96): time 3.176e-06/1.108, allocations: 0 / 0.9604 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102): time 0.006779/1.114, allocations: 3.146 MB / 0.9634 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.115, allocations: 67.69 kB / 0.9635 GB, free: 6.051 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/1.116, allocations: 1.261 MB / 0.9647 GB, free: 5.375 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/1.116, allocations: 49.33 kB / 0.9648 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005649/1.117, allocations: 0.8263 MB / 0.9656 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/1.117, allocations: 388.3 kB / 0.966 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/1.117, allocations: 222.8 kB / 0.9662 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.117, allocations: 357.2 kB / 0.9665 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007519/1.118, allocations: 444.3 kB / 0.9669 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009954/1.119, allocations: 0.8277 MB / 0.9678 GB, free: 2.875 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/1.121, allocations: 1.248 MB / 0.969 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.121, allocations: 5.125 kB / 0.969 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002252/1.123, allocations: 1.405 MB / 0.9703 GB, free: 1.398 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/1.123, allocations: 13.3 kB / 0.9704 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.123, allocations: 12.06 kB / 0.9704 GB, free: 1.391 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/1.123, allocations: 19.91 kB / 0.9704 GB, free: 1.387 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/1.124, allocations: 275.6 kB / 0.9707 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.563e-05/1.124, allocations: 30 kB / 0.9707 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/1.126, allocations: 62.89 kB / 0.9707 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/1.126, allocations: 52.02 kB / 0.9708 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001331/1.127, allocations: 0.7738 MB / 0.9715 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001009/1.128, allocations: 0.8241 MB / 0.9724 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001799/1.13, allocations: 1.234 MB / 0.9736 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.75e-06/1.13, allocations: 4 kB / 0.9736 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002263/1.132, allocations: 1.397 MB / 0.9749 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/1.132, allocations: 10.44 kB / 0.9749 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.132, allocations: 8 kB / 0.9749 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.132, allocations: 16 kB / 0.975 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.133, allocations: 270.3 kB / 0.9752 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/1.134, allocations: 22.52 kB / 0.9752 GB, free: 12.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.135, allocations: 79.88 kB / 0.9753 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/1.135, allocations: 48 kB / 0.9754 GB, free: 12.79 MB / 0.7169 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.0003671/1.135, allocations: 263.5 kB / 0.9756 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/1.136, allocations: 170.9 kB / 0.9758 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/1.138, allocations: 1.153 MB / 0.9769 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.138, allocations: 8 kB / 0.9769 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.138, allocations: 3.938 kB / 0.9769 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001677/1.139, allocations: 1.078 MB / 0.978 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004734/1.144, allocations: 2.785 MB / 0.9807 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/1.144, allocations: 0 / 0.9807 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.145, allocations: 246 kB / 0.9809 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/1.145, allocations: 8 kB / 0.9809 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.871e-05/1.146, allocations: 27.98 kB / 0.981 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.146, allocations: 8.219 kB / 0.981 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.146, allocations: 4 kB / 0.981 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/1.149, allocations: 1.82 MB / 0.9827 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008207/1.149, allocations: 351.9 kB / 0.9831 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/1.15, allocations: 23.94 kB / 0.9831 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/1.151, allocations: 61.44 kB / 0.9832 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/1.151, allocations: 67.39 kB / 0.9832 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/1.151, allocations: 40.16 kB / 0.9833 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001092/1.152, allocations: 0.8387 MB / 0.9841 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/1.152, allocations: 3.938 kB / 0.9841 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002008/1.154, allocations: 0.7655 MB / 0.9848 GB, free: 2.961 MB / 0.7169 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.003584/1.158, allocations: 2.541 MB / 0.9873 GB, free: 412 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002945/1.161, allocations: 1.733 MB / 0.989 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.161, allocations: 0 / 0.989 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008203/1.161, allocations: 0.5201 MB / 0.9895 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/1.165, allocations: 0.9167 MB / 0.9904 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/1.182, allocations: 12.03 MB / 1.002 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.183, allocations: 1.445 MB / 1.004 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001868/1.184, allocations: 0.56 MB / 1.004 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008138/1.185, allocations: 0.6789 MB / 1.005 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of SimCode: time 1.102e-06/1.185, allocations: 0 / 1.005 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07297/1.258, allocations: 45.05 MB / 1.049 GB, free: 1.723 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.61, allocations: 15.91 kB / 1.049 GB, free: 1.707 MB / 0.7794 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)