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.001214/0.001214, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7884/0.7884, allocations: 132.2 MB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 59.84 kB / 0.5019 GB, free: 3.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4358, allocations: 80.21 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7362/1.172, allocations: 242.4 MB / 0.8169 GB, free: 2.031 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02288/1.195, allocations: 15.88 MB / 0.8324 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004105/1.199, allocations: 76.25 kB / 0.8325 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003902/1.203, allocations: 1.183 MB / 0.8336 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01201/1.215, allocations: 3.81 MB / 0.8374 GB, free: 1.789 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005731/1.221, allocations: 1.793 MB / 0.8391 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008669/1.23, allocations: 5.242 MB / 0.8442 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002858/1.233, allocations: 1.677 MB / 0.8459 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006003/1.239, allocations: 2.596 MB / 0.8484 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003858/1.242, allocations: 1.707 MB / 0.8501 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006566/1.243, allocations: 176.5 kB / 0.8502 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007512/1.251, allocations: 2.698 MB / 0.8529 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001356/1.252, allocations: 0.7728 MB / 0.8536 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002678/1.255, allocations: 1.146 MB / 0.8547 GB, free: 1.523 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009457/1.264, allocations: 3.525 MB / 0.8582 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.264, allocations: 0 / 0.8582 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.356e-06/1.264, allocations: 0 / 0.8582 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.296e-05/1.264, allocations: 0.9688 kB / 0.8582 GB, free: 1.086 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.005425/1.27, allocations: 2.498 MB / 0.8606 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/1.27, allocations: 11.92 kB / 0.8606 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002567/1.27, allocations: 219.1 kB / 0.8608 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/1.273, allocations: 0.5074 MB / 0.8613 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002112/1.275, allocations: 1.27 MB / 0.8626 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/1.275, allocations: 174.7 kB / 0.8627 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/1.276, allocations: 156 kB / 0.8629 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002621/1.278, allocations: 1.735 MB / 0.8646 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/1.278, allocations: 4.062 kB / 0.8646 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/1.278, allocations: 60.72 kB / 0.8647 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/1.279, allocations: 65.06 kB / 0.8647 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/1.281, allocations: 1.372 MB / 0.8661 GB, free: 14.98 MB / 0.6544 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.009509/1.29, allocations: 8.247 MB / 0.8741 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/1.292, allocations: 0.8999 MB / 0.875 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007933/1.293, allocations: 0.5327 MB / 0.8755 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000617/1.293, allocations: 326.7 kB / 0.8758 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/1.293, allocations: 42.97 kB / 0.8759 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=96): time 3.116e-06/1.293, allocations: 0.9375 kB / 0.8759 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of matching and sorting (n=102): time 0.006614/1.3, allocations: 3.116 MB / 0.8789 GB, free: 9.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/1.3, allocations: 62.47 kB / 0.879 GB, free: 9.098 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/1.302, allocations: 1.262 MB / 0.8802 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/1.302, allocations: 52.17 kB / 0.8802 GB, free: 8.898 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005575/1.302, allocations: 0.8154 MB / 0.881 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/1.303, allocations: 364.3 kB / 0.8814 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003597/1.303, allocations: 224.8 kB / 0.8816 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001244/1.303, allocations: 353.8 kB / 0.8819 GB, free: 8.016 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007743/1.304, allocations: 453.2 kB / 0.8824 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.305, allocations: 0.8293 MB / 0.8832 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/1.307, allocations: 1.25 MB / 0.8844 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/1.307, allocations: 6.5 kB / 0.8844 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002455/1.309, allocations: 1.401 MB / 0.8858 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.309, allocations: 13.66 kB / 0.8858 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/1.309, allocations: 11.66 kB / 0.8858 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/1.309, allocations: 13.22 kB / 0.8858 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/1.31, allocations: 277.7 kB / 0.8861 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.808e-05/1.311, allocations: 22.08 kB / 0.8861 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/1.312, allocations: 69.69 kB / 0.8862 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/1.312, allocations: 49.8 kB / 0.8862 GB, free: 7.082 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001386/1.314, allocations: 0.768 MB / 0.887 GB, free: 6.996 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001227/1.315, allocations: 0.8229 MB / 0.8878 GB, free: 6.543 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002296/1.317, allocations: 1.232 MB / 0.889 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-05/1.317, allocations: 2.75 kB / 0.889 GB, free: 6.188 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003033/1.32, allocations: 1.389 MB / 0.8903 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/1.32, allocations: 7.531 kB / 0.8903 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/1.32, allocations: 9.75 kB / 0.8903 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/1.32, allocations: 16.88 kB / 0.8904 GB, free: 6.039 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/1.321, allocations: 277 kB / 0.8906 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.431e-05/1.321, allocations: 17.75 kB / 0.8906 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/1.323, allocations: 78.16 kB / 0.8907 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/1.323, allocations: 50.5 kB / 0.8908 GB, free: 6.035 MB / 0.6544 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.0004478/1.324, allocations: 265.8 kB / 0.891 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000482/1.324, allocations: 167.1 kB / 0.8912 GB, free: 5.758 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/1.327, allocations: 1.151 MB / 0.8923 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/1.327, allocations: 13.94 kB / 0.8923 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.327, allocations: 0 / 0.8923 GB, free: 5.66 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/1.328, allocations: 1.078 MB / 0.8934 GB, free: 5.383 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005476/1.334, allocations: 2.779 MB / 0.8961 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.334, allocations: 4 kB / 0.8961 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/1.335, allocations: 257.8 kB / 0.8963 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-05/1.335, allocations: 9.031 kB / 0.8963 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.822e-05/1.335, allocations: 24.62 kB / 0.8964 GB, free: 4.836 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/1.335, allocations: 9.234 kB / 0.8964 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/1.335, allocations: 4.812 kB / 0.8964 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003008/1.338, allocations: 1.809 MB / 0.8981 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008426/1.339, allocations: 335.3 kB / 0.8985 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003822/1.34, allocations: 25.34 kB / 0.8985 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/1.341, allocations: 58.89 kB / 0.8985 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.341, allocations: 72.66 kB / 0.8986 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.539e-05/1.341, allocations: 37.3 kB / 0.8986 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001593/1.343, allocations: 0.8439 MB / 0.8995 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/1.343, allocations: 0 / 0.8995 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00278/1.346, allocations: 0.7603 MB / 0.9002 GB, free: 3.422 MB / 0.6544 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.003833/1.35, allocations: 2.533 MB / 0.9027 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004143/1.354, allocations: 1.997 MB / 0.9046 GB, free: 15.98 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/1.354, allocations: 0 / 0.9046 GB, free: 15.98 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008959/1.355, allocations: 0.5232 MB / 0.9052 GB, free: 15.48 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004798/1.359, allocations: 0.9128 MB / 0.906 GB, free: 14.61 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/1.382, allocations: 13.06 MB / 0.9188 GB, free: 0.8867 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001267/1.383, allocations: 1.445 MB / 0.9202 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002293/1.385, allocations: 0.5592 MB / 0.9208 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.386, allocations: 0.6828 MB / 0.9214 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of SimCode: time 1.142e-06/1.386, allocations: 0 / 0.9214 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09027/1.477, allocations: 44.66 MB / 0.965 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.398/9.875, allocations: 7.562 kB / 0.965 GB, free: 2.172 MB / 0.7169 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)