Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_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.004652/0.004652, allocations: 98.31 kB / 15.73 MB, free: 6.492 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.001341/0.001341, allocations: 200.9 kB / 16.68 MB, free: 6.375 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002377/0.002377, allocations: 286.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9502/0.9502, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002583/0.002583, allocations: 105.2 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1536, allocations: 86.97 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.4842/0.6379, allocations: 190.6 MB / 0.952 GB, free: 4.457 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008943/0.6468, allocations: 5.736 MB / 0.9576 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008539/0.6477, allocations: 39.75 kB / 0.9577 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.6491, allocations: 0.5785 MB / 0.9582 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003841/0.653, allocations: 1.839 MB / 0.96 GB, free: 12.24 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.6556, allocations: 1.198 MB / 0.9612 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003377/0.659, allocations: 2.94 MB / 0.9641 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.6602, allocations: 0.9496 MB / 0.965 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00152/0.6618, allocations: 1.054 MB / 0.966 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.6634, allocations: 0.917 MB / 0.9669 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.6636, allocations: 108 kB / 0.967 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.6662, allocations: 1.426 MB / 0.9684 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000468/0.6667, allocations: 462.8 kB / 0.9689 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007052/0.6674, allocations: 0.6495 MB / 0.9695 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002629/0.67, allocations: 2.155 MB / 0.9716 GB, free: 392 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.67, allocations: 0 / 0.9716 GB, free: 392 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.67, allocations: 0 / 0.9716 GB, free: 392 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.6701, allocations: 0 / 0.9716 GB, free: 392 kB / 0.7169 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.00237/0.6724, allocations: 1.545 MB / 0.9731 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.6725, allocations: 8.031 kB / 0.9731 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.6727, allocations: 135.2 kB / 0.9733 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.6745, allocations: 323 kB / 0.9736 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.6758, allocations: 0.8715 MB / 0.9744 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.779e-05/0.6759, allocations: 66 kB / 0.9745 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.676, allocations: 84 kB / 0.9746 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.6776, allocations: 0.913 MB / 0.9754 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.6776, allocations: 0 / 0.9754 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.871e-05/0.6777, allocations: 43.98 kB / 0.9755 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.6778, allocations: 30 kB / 0.9755 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.6792, allocations: 0.8276 MB / 0.9763 GB, free: 11.43 MB / 0.7325 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.005028/0.6842, allocations: 3.514 MB / 0.9798 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007685/0.685, allocations: 0.4926 MB / 0.9802 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.6855, allocations: 294 kB / 0.9805 GB, free: 6.914 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001857/0.6857, allocations: 109.5 kB / 0.9806 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.6857, allocations: 43 kB / 0.9807 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 1.239e-05/0.6857, allocations: 7.984 kB / 0.9807 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.00373/0.6895, allocations: 1.936 MB / 0.9826 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.6895, allocations: 59.84 kB / 0.9826 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000955/0.6905, allocations: 0.798 MB / 0.9834 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.6906, allocations: 41.7 kB / 0.9834 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003708/0.6909, allocations: 484.3 kB / 0.9839 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001656/0.6911, allocations: 182.4 kB / 0.9841 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001974/0.6913, allocations: 110.3 kB / 0.9842 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.6915, allocations: 333.9 kB / 0.9845 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.6919, allocations: 237.2 kB / 0.9847 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005225/0.6924, allocations: 361.2 kB / 0.9851 GB, free: 2.043 MB / 0.7325 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.003695/0.6961, allocations: 1.53 MB / 0.9866 GB, free: 472 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.6962, allocations: 4 kB / 0.9866 GB, free: 468 kB / 0.7325 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001306/0.6975, allocations: 0.7891 MB / 0.9873 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6975, allocations: 8 kB / 0.9873 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6975, allocations: 4 kB / 0.9873 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.6978, allocations: 95.64 kB / 0.9874 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.6984, allocations: 143.9 kB / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003265/0.7017, allocations: 3.306 MB / 0.9908 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000668/0.7024, allocations: 31.86 kB / 0.9908 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.7024, allocations: 20 kB / 0.9909 GB, free: 11.77 MB / 0.7481 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.0004102/0.7029, allocations: 308.1 kB / 0.9911 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.703, allocations: 95.44 kB / 0.9912 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/0.7032, allocations: 100.7 kB / 0.9913 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7032, allocations: 4 kB / 0.9913 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.7032, allocations: 0 / 0.9913 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/0.7043, allocations: 0.8428 MB / 0.9922 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.7071, allocations: 1.799 MB / 0.9939 GB, free: 8.438 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7071, allocations: 4 kB / 0.9939 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/0.7077, allocations: 127.8 kB / 0.994 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.7079, allocations: 81.09 kB / 0.9941 GB, free: 8.227 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.7079, allocations: 12 kB / 0.9941 GB, free: 8.215 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.7097, allocations: 1.785 MB / 0.9959 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7097, allocations: 4 kB / 0.9959 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.7112, allocations: 1.066 MB / 0.9969 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.7116, allocations: 248.3 kB / 0.9972 GB, free: 4.898 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.7117, allocations: 16.19 kB / 0.9972 GB, free: 4.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006325/0.7123, allocations: 42.06 kB / 0.9972 GB, free: 4.844 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/0.7124, allocations: 35.89 kB / 0.9972 GB, free: 4.809 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.308e-05/0.7125, allocations: 31.98 kB / 0.9973 GB, free: 4.777 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006943/0.7132, allocations: 0.5615 MB / 0.9978 GB, free: 4.223 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7132, allocations: 0 / 0.9978 GB, free: 4.223 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007857/0.714, allocations: 283.9 kB / 0.9981 GB, free: 3.945 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U) * 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.002207/0.7162, allocations: 1.7 MB / 0.9998 GB, free: 2.18 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.7175, allocations: 0.8116 MB / 1.001 GB, free: 1.344 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.7175, allocations: 0 / 1.001 GB, free: 1.344 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000585/0.7181, allocations: 415.6 kB / 1.001 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.7206, allocations: 0.6046 MB / 1.002 GB, free: 344 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00932/0.7299, allocations: 7.001 MB / 1.008 GB, free: 9.051 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007524/0.7307, allocations: 1.087 MB / 1.009 GB, free: 7.93 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0006829/0.7314, allocations: 215.7 kB / 1.01 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004477/0.7318, allocations: 343.3 kB / 1.01 GB, free: 7.379 MB / 0.7637 GB Notification: Performance of SimCode: time 4.01e-07/0.7318, allocations: 0 / 1.01 GB, free: 7.379 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06395/0.7958, allocations: 28.03 MB / 1.037 GB, free: 11.88 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.97, allocations: 10.81 kB / 1.037 GB, free: 11.87 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeHeatReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.pipe 2>&1)