Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",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.00477/0.00477, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.00126/0.00126, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.229/1.229, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002046/0.002046, allocations: 286.7 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.8781/0.8781, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 88.5 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1389, allocations: 86.97 MB / 0.7659 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.4644/0.6033, allocations: 190.5 MB / 0.9519 GB, free: 4.535 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007846/0.6112, allocations: 5.701 MB / 0.9575 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006931/0.6119, allocations: 47.69 kB / 0.9575 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.6132, allocations: 0.5903 MB / 0.9581 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.003482/0.6167, allocations: 1.906 MB / 0.96 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.619, allocations: 1.182 MB / 0.9611 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002753/0.6218, allocations: 2.964 MB / 0.964 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.623, allocations: 1.121 MB / 0.9651 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001324/0.6243, allocations: 1.101 MB / 0.9662 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.6257, allocations: 0.9628 MB / 0.9671 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.6259, allocations: 124 kB / 0.9673 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.6281, allocations: 1.454 MB / 0.9687 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004813/0.6286, allocations: 0.5689 MB / 0.9692 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006568/0.6293, allocations: 0.7273 MB / 0.9699 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002396/0.6317, allocations: 2.344 MB / 0.9722 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6317, allocations: 0 / 0.9722 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6317, allocations: 4 kB / 0.9722 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.282e-05/0.6317, allocations: 0 / 0.9722 GB, free: 15.69 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002351/0.6341, allocations: 1.657 MB / 0.9738 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.6341, allocations: 12.03 kB / 0.9739 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001873/0.6343, allocations: 160.2 kB / 0.974 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.6363, allocations: 334.9 kB / 0.9743 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.6377, allocations: 0.9221 MB / 0.9752 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.858e-05/0.6378, allocations: 70 kB / 0.9753 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.6379, allocations: 96 kB / 0.9754 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.6396, allocations: 1.093 MB / 0.9765 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.6397, allocations: 3.953 kB / 0.9765 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.426e-05/0.6398, allocations: 40 kB / 0.9765 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.171e-05/0.6398, allocations: 38 kB / 0.9765 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001545/0.6414, allocations: 0.9915 MB / 0.9775 GB, free: 10.18 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.005538/0.6469, allocations: 4.234 MB / 0.9816 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008439/0.6478, allocations: 0.6033 MB / 0.9822 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/0.6483, allocations: 338.6 kB / 0.9826 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00018/0.6485, allocations: 113.4 kB / 0.9827 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.6485, allocations: 47 kB / 0.9827 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=53): time 3.046e-06/0.6485, allocations: 0 / 0.9827 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=55): time 0.003639/0.6522, allocations: 2.21 MB / 0.9849 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.6522, allocations: 63.91 kB / 0.9849 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009438/0.6532, allocations: 0.8805 MB / 0.9858 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.6532, allocations: 37.7 kB / 0.9858 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/0.6536, allocations: 0.5196 MB / 0.9863 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.6537, allocations: 214.2 kB / 0.9865 GB, free: 468 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.6539, allocations: 130.6 kB / 0.9867 GB, free: 328 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6541, allocations: 330 kB / 0.987 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004588/0.6545, allocations: 293.8 kB / 0.9873 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.6551, allocations: 432.9 kB / 0.9877 GB, free: 15.23 MB / 0.7481 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.003674/0.6588, allocations: 1.745 MB / 0.9894 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6588, allocations: 0 / 0.9894 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001389/0.6602, allocations: 0.9303 MB / 0.9903 GB, free: 12.47 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.6602, allocations: 8 kB / 0.9903 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6602, allocations: 5.562 kB / 0.9903 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001907/0.6604, allocations: 106.8 kB / 0.9904 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/0.6611, allocations: 159.8 kB / 0.9905 GB, free: 12.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003249/0.6644, allocations: 4.635 MB / 0.9951 GB, free: 7.141 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007448/0.6651, allocations: 23.98 kB / 0.9951 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.6652, allocations: 32 kB / 0.9951 GB, free: 7.086 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004144/0.6656, allocations: 350 kB / 0.9955 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.6658, allocations: 107.3 kB / 0.9956 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001795/0.666, allocations: 113.2 kB / 0.9957 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.666, allocations: 8 kB / 0.9957 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.666, allocations: 0 / 0.9957 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009991/0.667, allocations: 0.7614 MB / 0.9964 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002876/0.6699, allocations: 1.988 MB / 0.9984 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6699, allocations: 4 kB / 0.9984 GB, free: 3.598 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006501/0.6705, allocations: 147.8 kB / 0.9985 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.791e-05/0.6706, allocations: 40.83 kB / 0.9985 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/0.6707, allocations: 12.38 kB / 0.9986 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.6718, allocations: 1.611 MB / 1 GB, free: 1.645 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.6719, allocations: 8.062 kB / 1 GB, free: 1.637 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.6734, allocations: 1.212 MB / 1.001 GB, free: 376 kB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004052/0.6738, allocations: 264.3 kB / 1.002 GB, free: 92 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.674, allocations: 12 kB / 1.002 GB, free: 80 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006804/0.6747, allocations: 33.59 kB / 1.002 GB, free: 48 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.6748, allocations: 44.58 kB / 1.002 GB, free: 4 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-05/0.6749, allocations: 31.97 kB / 1.002 GB, free: 15.97 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007616/0.6756, allocations: 0.6161 MB / 1.002 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6756, allocations: 0 / 1.002 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0008615/0.6765, allocations: 304 kB / 1.003 GB, free: 15.07 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[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 (53): * Single equations (assignments): 52 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002171/0.6787, allocations: 1.866 MB / 1.004 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001403/0.6801, allocations: 1.019 MB / 1.005 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6801, allocations: 0 / 1.005 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005777/0.6807, allocations: 451.5 kB / 1.006 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.6833, allocations: 0.6486 MB / 1.006 GB, free: 11 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009481/0.6928, allocations: 7.957 MB / 1.014 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000684/0.6935, allocations: 1.174 MB / 1.015 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.000685/0.6941, allocations: 252.4 kB / 1.016 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/0.6946, allocations: 383.3 kB / 1.016 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of SimCode: time 4.61e-07/0.6946, allocations: 0 / 1.016 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05403/0.7487, allocations: 30.52 MB / 1.046 GB, free: 2.973 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.71, allocations: 6.906 kB / 1.046 GB, free: 2.965 MB / 0.795 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_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_MixingVolumeTraceSubstanceReverseFlow.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1)