Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.MixingVolume,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_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.00759/0.00759, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.002013/0.002014, allocations: 193.2 kB / 16.67 MB, free: 5.973 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8081/0.8081, allocations: 132.2 MB / 422.7 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 66.27 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.154, allocations: 80.2 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7218/0.8758, allocations: 242.4 MB / 0.8959 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02551/0.9013, allocations: 15.88 MB / 0.9114 GB, free: 3.734 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003134/0.9045, allocations: 79.5 kB / 0.9115 GB, free: 3.656 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003871/0.9084, allocations: 1.177 MB / 0.9126 GB, free: 2.473 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01057/0.919, allocations: 3.814 MB / 0.9164 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005109/0.9242, allocations: 1.825 MB / 0.9181 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008002/0.9322, allocations: 5.24 MB / 0.9233 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.935, allocations: 1.665 MB / 0.9249 GB, free: 5.867 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006018/0.941, allocations: 2.604 MB / 0.9274 GB, free: 3.254 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003799/0.9449, allocations: 1.71 MB / 0.9291 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004518/0.9453, allocations: 176 kB / 0.9293 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005895/0.9512, allocations: 2.709 MB / 0.9319 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.9523, allocations: 0.7749 MB / 0.9327 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002157/0.9544, allocations: 1.147 MB / 0.9338 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.009107/0.9636, allocations: 3.581 MB / 0.9373 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.9636, allocations: 4 kB / 0.9373 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9636, allocations: 0 / 0.9373 GB, free: 9.141 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.162e-05/0.9637, allocations: 0 / 0.9373 GB, free: 9.141 MB / 0.7012 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.004863/0.9686, allocations: 2.568 MB / 0.9398 GB, free: 6.516 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.9686, allocations: 12.03 kB / 0.9398 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003008/0.9689, allocations: 215.1 kB / 0.94 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003021/0.972, allocations: 0.5099 MB / 0.9405 GB, free: 5.773 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.9745, allocations: 1.376 MB / 0.9419 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.9747, allocations: 178.2 kB / 0.942 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.9749, allocations: 155.9 kB / 0.9422 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.978, allocations: 1.733 MB / 0.9439 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.978, allocations: 7.938 kB / 0.9439 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.9782, allocations: 63.98 kB / 0.9439 GB, free: 2.125 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.51e-05/0.9783, allocations: 54.7 kB / 0.944 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.9809, allocations: 1.377 MB / 0.9453 GB, free: 0.6875 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.01066/0.9916, allocations: 8.204 MB / 0.9533 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.9932, allocations: 0.904 MB / 0.9542 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009764/0.9942, allocations: 0.5307 MB / 0.9547 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006758/0.9949, allocations: 328.5 kB / 0.9551 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.903e-05/0.995, allocations: 43.56 kB / 0.9551 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=96): time 2.996e-06/0.995, allocations: 0 / 0.9551 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=102): time 0.007655/1.003, allocations: 3.135 MB / 0.9582 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/1.003, allocations: 60.41 kB / 0.9582 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/1.005, allocations: 1.27 MB / 0.9595 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/1.005, allocations: 49.7 kB / 0.9595 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007123/1.005, allocations: 0.8228 MB / 0.9603 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003745/1.006, allocations: 388.7 kB / 0.9607 GB, free: 116 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003688/1.006, allocations: 226.9 kB / 0.9609 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001882/1.006, allocations: 357.9 kB / 0.9612 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008758/1.007, allocations: 445.8 kB / 0.9617 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/1.009, allocations: 0.8313 MB / 0.9625 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/1.011, allocations: 1.237 MB / 0.9637 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/1.011, allocations: 7.25 kB / 0.9637 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002724/1.013, allocations: 1.415 MB / 0.9651 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/1.013, allocations: 12 kB / 0.9651 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/1.013, allocations: 11.94 kB / 0.9651 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/1.013, allocations: 16 kB / 0.9651 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/1.015, allocations: 275.6 kB / 0.9654 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/1.015, allocations: 15.94 kB / 0.9654 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001334/1.016, allocations: 75.94 kB / 0.9655 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-05/1.016, allocations: 59.94 kB / 0.9655 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001489/1.018, allocations: 0.7687 MB / 0.9663 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001213/1.019, allocations: 0.8273 MB / 0.9671 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002005/1.021, allocations: 1.229 MB / 0.9683 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.632e-06/1.021, allocations: 4 kB / 0.9683 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002654/1.023, allocations: 1.39 MB / 0.9696 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/1.024, allocations: 8 kB / 0.9696 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.024, allocations: 13.25 kB / 0.9697 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/1.024, allocations: 16.81 kB / 0.9697 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/1.025, allocations: 279.5 kB / 0.9699 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.911e-05/1.025, allocations: 19.94 kB / 0.97 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/1.026, allocations: 71.94 kB / 0.97 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.364e-05/1.026, allocations: 55.98 kB / 0.9701 GB, free: 5.871 MB / 0.7325 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.0003702/1.027, allocations: 271.7 kB / 0.9703 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003/1.027, allocations: 174.9 kB / 0.9705 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/1.029, allocations: 1.144 MB / 0.9716 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/1.029, allocations: 12 kB / 0.9716 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/1.029, allocations: 0.625 kB / 0.9716 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001834/1.031, allocations: 1.079 MB / 0.9727 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00512/1.036, allocations: 2.773 MB / 0.9754 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/1.036, allocations: 4 kB / 0.9754 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/1.037, allocations: 252.3 kB / 0.9756 GB, free: 28 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/1.038, allocations: 8 kB / 0.9757 GB, free: 20 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.53e-05/1.038, allocations: 31.98 kB / 0.9757 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/1.038, allocations: 7.984 kB / 0.9757 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.038, allocations: 4.875 kB / 0.9757 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003294/1.041, allocations: 1.827 MB / 0.9775 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007493/1.042, allocations: 335.9 kB / 0.9778 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/1.042, allocations: 31.98 kB / 0.9778 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009909/1.043, allocations: 59.91 kB / 0.9779 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/1.043, allocations: 68.94 kB / 0.978 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.974e-05/1.043, allocations: 39.98 kB / 0.978 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001231/1.044, allocations: 0.8504 MB / 0.9788 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.51e-07/1.044, allocations: 0 / 0.9788 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001939/1.046, allocations: 0.7578 MB / 0.9796 GB, free: 11.96 MB / 0.7481 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.003925/1.05, allocations: 2.541 MB / 0.982 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003319/1.054, allocations: 1.731 MB / 0.9837 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/1.054, allocations: 4 kB / 0.9837 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009123/1.055, allocations: 0.5143 MB / 0.9842 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004151/1.059, allocations: 0.9103 MB / 0.9851 GB, free: 6.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.078, allocations: 12.03 MB / 0.9969 GB, free: 9.742 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.079, allocations: 1.445 MB / 0.9983 GB, free: 8.262 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001887/1.081, allocations: 0.5561 MB / 0.9988 GB, free: 7.699 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009705/1.082, allocations: 0.6867 MB / 0.9995 GB, free: 7.012 MB / 0.7637 GB Notification: Performance of SimCode: time 8.42e-07/1.082, allocations: 0 / 0.9995 GB, free: 7.012 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0924/1.175, allocations: 45.04 MB / 1.043 GB, free: 10.42 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.67, allocations: 19.39 kB / 1.044 GB, free: 10.41 MB / 0.8106 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)