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.00518/0.00518, allocations: 97.69 kB / 15.73 MB, free: 6 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.001129/0.001129, allocations: 185.7 kB / 16.67 MB, free: 5.93 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7191/0.7191, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 59.91 kB / 0.5809 GB, free: 8.059 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.416, allocations: 80.21 MB / 0.6592 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6069/1.023, allocations: 242.4 MB / 0.8959 GB, free: 1.895 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01908/1.042, allocations: 15.89 MB / 0.9114 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003127/1.045, allocations: 76.47 kB / 0.9115 GB, free: 1.742 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003093/1.048, allocations: 1.228 MB / 0.9127 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/1.059, allocations: 3.955 MB / 0.9165 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005367/1.064, allocations: 1.825 MB / 0.9183 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008883/1.073, allocations: 5.257 MB / 0.9235 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/1.076, allocations: 1.665 MB / 0.9251 GB, free: 1.328 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006443/1.083, allocations: 2.689 MB / 0.9277 GB, free: 1.305 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00419/1.087, allocations: 1.713 MB / 0.9294 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008199/1.088, allocations: 173.2 kB / 0.9295 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006689/1.094, allocations: 2.719 MB / 0.9322 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001467/1.096, allocations: 0.7681 MB / 0.9329 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001917/1.098, allocations: 1.148 MB / 0.9341 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006431/1.104, allocations: 3.582 MB / 0.9376 GB, free: 332 kB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.104, allocations: 2.562 kB / 0.9376 GB, free: 332 kB / 0.6856 GB Notification: Performance of FrontEnd: time 1.653e-06/1.104, allocations: 0.7812 kB / 0.9376 GB, free: 332 kB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.541e-05/1.104, allocations: 0 / 0.9376 GB, free: 332 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.00469/1.109, allocations: 2.569 MB / 0.9401 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.109, allocations: 8.438 kB / 0.9401 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002425/1.109, allocations: 220.4 kB / 0.9403 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003047/1.112, allocations: 0.5153 MB / 0.9408 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002638/1.115, allocations: 1.374 MB / 0.9421 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/1.115, allocations: 183.6 kB / 0.9423 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/1.115, allocations: 153.8 kB / 0.9425 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/1.118, allocations: 1.741 MB / 0.9442 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.85e-05/1.118, allocations: 2.781 kB / 0.9442 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/1.118, allocations: 60.75 kB / 0.9442 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.231e-05/1.119, allocations: 61.58 kB / 0.9443 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/1.121, allocations: 1.371 MB / 0.9456 GB, free: 14.11 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.00994/1.131, allocations: 8.202 MB / 0.9536 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/1.132, allocations: 0.9068 MB / 0.9545 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008488/1.133, allocations: 0.5294 MB / 0.955 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006609/1.134, allocations: 325.8 kB / 0.9553 GB, free: 8.637 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.964e-05/1.134, allocations: 54.27 kB / 0.9554 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=96): time 3.466e-06/1.134, allocations: 0 / 0.9554 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of matching and sorting (n=102): time 0.006991/1.141, allocations: 3.137 MB / 0.9585 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/1.141, allocations: 60.94 kB / 0.9585 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/1.143, allocations: 1.261 MB / 0.9598 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/1.143, allocations: 49.7 kB / 0.9598 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006184/1.143, allocations: 0.8282 MB / 0.9606 GB, free: 6.215 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003127/1.144, allocations: 383.4 kB / 0.961 GB, free: 5.887 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/1.144, allocations: 230.5 kB / 0.9612 GB, free: 5.758 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.144, allocations: 357.8 kB / 0.9615 GB, free: 5.414 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007945/1.145, allocations: 445.5 kB / 0.962 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/1.146, allocations: 0.8334 MB / 0.9628 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001848/1.148, allocations: 1.239 MB / 0.964 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.148, allocations: 2.531 kB / 0.964 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00251/1.15, allocations: 1.418 MB / 0.9654 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/1.15, allocations: 7.781 kB / 0.9654 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.15, allocations: 17.09 kB / 0.9654 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/1.151, allocations: 15.59 kB / 0.9654 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.152, allocations: 279.8 kB / 0.9657 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.1e-05/1.152, allocations: 15.84 kB / 0.9657 GB, free: 2.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.153, allocations: 69.31 kB / 0.9658 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-05/1.153, allocations: 56.47 kB / 0.9658 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001316/1.154, allocations: 0.766 MB / 0.9666 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001063/1.156, allocations: 0.834 MB / 0.9674 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00173/1.157, allocations: 1.231 MB / 0.9686 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.318e-06/1.157, allocations: 2.625 kB / 0.9686 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002434/1.16, allocations: 1.394 MB / 0.9699 GB, free: 12 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/1.16, allocations: 8 kB / 0.9699 GB, free: 4 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/1.16, allocations: 8.047 kB / 0.97 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.16, allocations: 20.69 kB / 0.97 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/1.161, allocations: 278.6 kB / 0.9702 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/1.161, allocations: 23.17 kB / 0.9703 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/1.162, allocations: 75.89 kB / 0.9703 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/1.162, allocations: 55.98 kB / 0.9704 GB, free: 15.57 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.0003778/1.163, allocations: 262.8 kB / 0.9706 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/1.163, allocations: 174.9 kB / 0.9708 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/1.165, allocations: 1.15 MB / 0.9719 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/1.165, allocations: 8 kB / 0.9719 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.165, allocations: 0 / 0.9719 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001696/1.167, allocations: 1.075 MB / 0.973 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004919/1.172, allocations: 2.781 MB / 0.9757 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.172, allocations: 3.984 kB / 0.9757 GB, free: 10.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.173, allocations: 245.2 kB / 0.9759 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/1.173, allocations: 12.22 kB / 0.9759 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.968e-05/1.173, allocations: 27.98 kB / 0.976 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.415e-05/1.173, allocations: 15.19 kB / 0.976 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.173, allocations: 0 / 0.976 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003071/1.176, allocations: 1.818 MB / 0.9778 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000815/1.177, allocations: 343.9 kB / 0.9781 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/1.178, allocations: 27.92 kB / 0.9781 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.179, allocations: 55.95 kB / 0.9782 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/1.179, allocations: 68.09 kB / 0.9782 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.387e-05/1.179, allocations: 39.92 kB / 0.9783 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001187/1.18, allocations: 0.8426 MB / 0.9791 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/1.18, allocations: 4 kB / 0.9791 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00198/1.182, allocations: 0.7578 MB / 0.9798 GB, free: 5.762 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.003621/1.186, allocations: 2.552 MB / 0.9823 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003102/1.189, allocations: 1.736 MB / 0.984 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.189, allocations: 0 / 0.984 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008523/1.19, allocations: 0.5166 MB / 0.9845 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004116/1.194, allocations: 0.9202 MB / 0.9854 GB, free: 164 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01842/1.212, allocations: 12.03 MB / 0.9972 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000973/1.213, allocations: 1.437 MB / 0.9986 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001829/1.215, allocations: 0.5522 MB / 0.9991 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008698/1.216, allocations: 0.6867 MB / 0.9998 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of SimCode: time 8.61e-07/1.216, allocations: 0 / 0.9998 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08337/1.299, allocations: 45.06 MB / 1.044 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.72, allocations: 5.641 kB / 1.044 GB, free: 4.605 MB / 0.7794 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)