Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.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.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",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.001605/0.001605, allocations: 108 kB / 15.61 MB, free: 152 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.001173/0.001173, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7674/0.7674, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.62 kB / 0.5019 GB, free: 8.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1792, allocations: 80.2 MB / 0.5802 GB, free: 8.691 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.5323/0.7115, allocations: 190.6 MB / 0.7663 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009886/0.7215, allocations: 5.709 MB / 0.7719 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001741/0.7233, allocations: 43.75 kB / 0.7719 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.725, allocations: 0.5825 MB / 0.7725 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005086/0.7302, allocations: 1.831 MB / 0.7743 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003403/0.7336, allocations: 1.175 MB / 0.7754 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004248/0.7378, allocations: 2.953 MB / 0.7783 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001718/0.7396, allocations: 0.9503 MB / 0.7792 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002429/0.742, allocations: 1.055 MB / 0.7803 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002901/0.7449, allocations: 0.9096 MB / 0.7811 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005682/0.7455, allocations: 112 kB / 0.7812 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004837/0.7504, allocations: 1.423 MB / 0.7826 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.7514, allocations: 462.8 kB / 0.7831 GB, free: 2.965 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002307/0.7538, allocations: 0.6534 MB / 0.7837 GB, free: 2.309 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005307/0.7591, allocations: 2.127 MB / 0.7858 GB, free: 180 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.7591, allocations: 0 / 0.7858 GB, free: 180 kB / 0.5919 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7591, allocations: 0 / 0.7858 GB, free: 180 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.29e-05/0.7592, allocations: 0 / 0.7858 GB, free: 180 kB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.003911/0.7631, allocations: 1.518 MB / 0.7873 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.7632, allocations: 8.031 kB / 0.7873 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002712/0.7634, allocations: 143.2 kB / 0.7874 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.7657, allocations: 326.2 kB / 0.7877 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.7673, allocations: 0.8084 MB / 0.7885 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.7674, allocations: 66 kB / 0.7886 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.7676, allocations: 87.94 kB / 0.7887 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.7693, allocations: 0.915 MB / 0.7896 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.7694, allocations: 3.938 kB / 0.7896 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-05/0.7695, allocations: 39.98 kB / 0.7896 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/0.7695, allocations: 37.98 kB / 0.7896 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.771, allocations: 0.8159 MB / 0.7904 GB, free: 11.32 MB / 0.6075 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.006029/0.7771, allocations: 3.541 MB / 0.7939 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.7779, allocations: 0.5108 MB / 0.7944 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004723/0.7784, allocations: 290 kB / 0.7947 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002062/0.7786, allocations: 101.5 kB / 0.7948 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.7787, allocations: 47 kB / 0.7948 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=47): time 3.948e-06/0.7787, allocations: 4 kB / 0.7948 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.004488/0.7832, allocations: 1.915 MB / 0.7967 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.7832, allocations: 55.84 kB / 0.7967 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.7844, allocations: 0.8019 MB / 0.7975 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.383e-05/0.7845, allocations: 37.7 kB / 0.7976 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003539/0.7848, allocations: 479.3 kB / 0.798 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.785, allocations: 169.6 kB / 0.7982 GB, free: 3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.7852, allocations: 118.2 kB / 0.7983 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.7853, allocations: 337.9 kB / 0.7986 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.7858, allocations: 241.2 kB / 0.7988 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.7863, allocations: 366.9 kB / 0.7992 GB, free: 1.91 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/0.7901, allocations: 1.523 MB / 0.8007 GB, free: 348 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7901, allocations: 7.375 kB / 0.8007 GB, free: 344 kB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0014/0.7915, allocations: 0.7809 MB / 0.8014 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.7915, allocations: 19.86 kB / 0.8015 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.7915, allocations: 0 / 0.8015 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003014/0.7918, allocations: 93.66 kB / 0.8016 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.7925, allocations: 147.8 kB / 0.8017 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.7955, allocations: 3.296 MB / 0.8049 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000914/0.7964, allocations: 28.05 kB / 0.8049 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.7965, allocations: 24.19 kB / 0.805 GB, free: 11.66 MB / 0.6231 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004823/0.797, allocations: 299.1 kB / 0.8053 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.7972, allocations: 94.97 kB / 0.8053 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.7974, allocations: 100.7 kB / 0.8054 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.7974, allocations: 4 kB / 0.8054 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7974, allocations: 3.938 kB / 0.8054 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/0.7985, allocations: 0.8466 MB / 0.8063 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/0.8014, allocations: 1.794 MB / 0.808 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/0.8015, allocations: 8.062 kB / 0.808 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006199/0.8021, allocations: 127.8 kB / 0.8082 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002314/0.8023, allocations: 68.8 kB / 0.8082 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.8024, allocations: 12 kB / 0.8082 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001662/0.8041, allocations: 1.789 MB / 0.81 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.8041, allocations: 7.984 kB / 0.81 GB, free: 6.172 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.8057, allocations: 1.089 MB / 0.811 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004811/0.8062, allocations: 232 kB / 0.8113 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.8064, allocations: 15.98 kB / 0.8113 GB, free: 4.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007822/0.8072, allocations: 31.89 kB / 0.8113 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.8073, allocations: 47.89 kB / 0.8114 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.205e-05/0.8074, allocations: 27.98 kB / 0.8114 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008431/0.8083, allocations: 0.5654 MB / 0.8119 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8083, allocations: 0 / 0.8119 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000992/0.8093, allocations: 280 kB / 0.8122 GB, free: 3.824 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.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 (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00231/0.8116, allocations: 1.726 MB / 0.8139 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.8132, allocations: 0.8651 MB / 0.8147 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.8132, allocations: 0 / 0.8147 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006103/0.8138, allocations: 412.9 kB / 0.8151 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002795/0.8166, allocations: 0.6152 MB / 0.8157 GB, free: 164 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.8281, allocations: 7.286 MB / 0.8228 GB, free: 8.559 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008122/0.8289, allocations: 1.084 MB / 0.8239 GB, free: 7.445 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001082/0.83, allocations: 215.7 kB / 0.8241 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005197/0.8306, allocations: 347.3 kB / 0.8244 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.8306, allocations: 0 / 0.8244 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09908/0.9297, allocations: 27.85 MB / 0.8516 GB, free: 11.52 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.17, allocations: 8.719 kB / 0.8516 GB, free: 11.52 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.004 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)