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.007788/0.007789, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001668/0.001668, allocations: 190 kB / 16.67 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.319/1.319, 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.7525/0.7525, allocations: 132.2 MB / 422.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 62.12 kB / 0.5809 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1391, allocations: 80.21 MB / 0.6592 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.4925/0.6317, allocations: 187.8 MB / 0.8426 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01356/0.6453, allocations: 10.76 MB / 0.8531 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009898/0.6463, allocations: 38.28 kB / 0.8532 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001217/0.6476, allocations: 0.4993 MB / 0.8537 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00563/0.6532, allocations: 2.656 MB / 0.8562 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005477/0.6587, allocations: 2.471 MB / 0.8587 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003334/0.662, allocations: 2.78 MB / 0.8614 GB, free: 7.113 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009665/0.663, allocations: 0.7712 MB / 0.8621 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001458/0.6645, allocations: 1.035 MB / 0.8631 GB, free: 5.312 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.6661, allocations: 1.064 MB / 0.8642 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.6663, allocations: 100 kB / 0.8643 GB, free: 4.152 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005418/0.6717, allocations: 3.009 MB / 0.8672 GB, free: 1.137 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004284/0.6722, allocations: 438.8 kB / 0.8676 GB, free: 0.707 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006196/0.6728, allocations: 0.5833 MB / 0.8682 GB, free: 124 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004213/0.677, allocations: 2.975 MB / 0.8711 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.677, allocations: 4 kB / 0.8711 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.353e-06/0.677, allocations: 0 / 0.8711 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.6771, allocations: 0 / 0.8711 GB, free: 13.13 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.003368/0.6804, allocations: 1.718 MB / 0.8728 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.6805, allocations: 8.031 kB / 0.8728 GB, free: 11.35 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.6806, allocations: 123.3 kB / 0.8729 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.6825, allocations: 306.9 kB / 0.8732 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.6838, allocations: 0.8358 MB / 0.874 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.6839, allocations: 57.28 kB / 0.8741 GB, free: 9.984 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.684, allocations: 63.98 kB / 0.8741 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.6855, allocations: 0.9844 MB / 0.8751 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.6855, allocations: 11.92 kB / 0.8751 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.942e-05/0.6856, allocations: 31.92 kB / 0.8751 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.29e-05/0.6857, allocations: 73.95 kB / 0.8752 GB, free: 8.805 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.6873, allocations: 1.003 MB / 0.8762 GB, free: 7.797 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.005526/0.6928, allocations: 3.585 MB / 0.8797 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009957/0.6938, allocations: 0.6544 MB / 0.8803 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005206/0.6944, allocations: 374.4 kB / 0.8807 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.6946, allocations: 190.8 kB / 0.8809 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.6947, allocations: 43.59 kB / 0.8809 GB, free: 2.68 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=62): time 3.076e-06/0.6947, allocations: 4 kB / 0.8809 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of matching and sorting (n=62): time 0.001818/0.6965, allocations: 1.025 MB / 0.8819 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.6966, allocations: 111.4 kB / 0.882 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008952/0.6975, allocations: 0.7981 MB / 0.8828 GB, free: 0.707 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.6975, allocations: 41.7 kB / 0.8828 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.6979, allocations: 432.8 kB / 0.8833 GB, free: 236 kB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/0.698, allocations: 226 kB / 0.8835 GB, free: 8 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.6983, allocations: 154.6 kB / 0.8836 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.6984, allocations: 337.9 kB / 0.8839 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.699, allocations: 336.7 kB / 0.8843 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006409/0.6996, allocations: 473.5 kB / 0.8847 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.7007, allocations: 0.7666 MB / 0.8855 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.7008, allocations: 0 / 0.8855 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001433/0.7022, allocations: 0.9342 MB / 0.8864 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.7022, allocations: 4 kB / 0.8864 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.7022, allocations: 4 kB / 0.8864 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.7023, allocations: 4 kB / 0.8864 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007203/0.703, allocations: 151.7 kB / 0.8865 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.703, allocations: 8 kB / 0.8865 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.7037, allocations: 79.39 kB / 0.8866 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.431e-05/0.7038, allocations: 31.98 kB / 0.8866 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007448/0.7046, allocations: 0.5369 MB / 0.8872 GB, free: 12.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005932/0.7052, allocations: 460.7 kB / 0.8876 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00101/0.7062, allocations: 0.7451 MB / 0.8883 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.348e-06/0.7062, allocations: 4 kB / 0.8883 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001354/0.7075, allocations: 0.8908 MB / 0.8892 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.7076, allocations: 4 kB / 0.8892 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.7076, allocations: 4 kB / 0.8892 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.961e-06/0.7076, allocations: 4 kB / 0.8892 GB, free: 9.938 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/0.7082, allocations: 148 kB / 0.8894 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.056e-06/0.7083, allocations: 12 kB / 0.8894 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006883/0.709, allocations: 70.91 kB / 0.8894 GB, free: 9.715 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.448e-05/0.709, allocations: 28 kB / 0.8895 GB, free: 9.688 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.0001972/0.7092, allocations: 221.4 kB / 0.8897 GB, free: 9.465 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.7094, allocations: 99.38 kB / 0.8898 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.7107, allocations: 0.8047 MB / 0.8906 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.7107, allocations: 8 kB / 0.8906 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.7107, allocations: 0 / 0.8906 GB, free: 8.551 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009925/0.7117, allocations: 0.7399 MB / 0.8913 GB, free: 7.777 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002953/0.7147, allocations: 2.093 MB / 0.8933 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.7147, allocations: 5.688 kB / 0.8933 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006672/0.7153, allocations: 140.2 kB / 0.8935 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/0.7154, allocations: 8 kB / 0.8935 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/0.7154, allocations: 16 kB / 0.8935 GB, free: 5.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.7154, allocations: 7.938 kB / 0.8935 GB, free: 5.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.7154, allocations: 7.984 kB / 0.8935 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/0.7172, allocations: 1.403 MB / 0.8949 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.7176, allocations: 256.3 kB / 0.8951 GB, free: 3.676 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.7178, allocations: 16 kB / 0.8951 GB, free: 3.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005624/0.7183, allocations: 23.98 kB / 0.8952 GB, free: 3.637 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.7184, allocations: 52.25 kB / 0.8952 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.7185, allocations: 24 kB / 0.8952 GB, free: 3.559 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006641/0.7191, allocations: 0.5614 MB / 0.8958 GB, free: 3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7191, allocations: 0 / 0.8958 GB, free: 3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001635/0.7208, allocations: 0.7558 MB / 0.8965 GB, free: 2.242 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.003306/0.7241, allocations: 2.401 MB / 0.8989 GB, free: 15.79 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001887/0.726, allocations: 1.178 MB / 0.9 GB, free: 14.61 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.064e-05/0.7261, allocations: 9.125 kB / 0.9 GB, free: 14.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004922/0.7266, allocations: 366.6 kB / 0.9004 GB, free: 14.24 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/0.7291, allocations: 0.5334 MB / 0.9009 GB, free: 13.73 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.7402, allocations: 7.894 MB / 0.9086 GB, free: 5.566 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006757/0.7409, allocations: 1.081 MB / 0.9097 GB, free: 4.453 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001208/0.7421, allocations: 407.9 kB / 0.91 GB, free: 4.055 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005485/0.7426, allocations: 339.3 kB / 0.9104 GB, free: 3.723 MB / 0.67 GB Notification: Performance of SimCode: time 9.92e-07/0.7427, allocations: 0 / 0.9104 GB, free: 3.723 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05696/0.7996, allocations: 31.41 MB / 0.941 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.3, allocations: 6.984 kB / 0.9411 GB, free: 4.605 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)